Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 197.9 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.158/1.158, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002392/0.002392, allocations: 0.5623 MB / 290.5 MB, free: 1.922 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001093, allocations: 63.91 kB / 351 MB, free: 2.668 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09172/0.09283, allocations: 49.59 MB / 400.6 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.1568/0.2497, allocations: 1.699 MB / 402.3 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002492/0.25, allocations: 92.56 kB / 402.4 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.717e-05/0.25, allocations: 2.094 kB / 402.4 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.969e-05/0.2501, allocations: 12.45 kB / 402.4 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.481e-05/0.2502, allocations: 23.06 kB / 402.4 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001213/0.2504, allocations: 19.28 kB / 402.4 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.2505, allocations: 109.6 kB / 402.5 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.2507, allocations: 30.3 kB / 402.6 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.79e-05/0.2507, allocations: 35.27 kB / 402.6 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.612e-05/0.2508, allocations: 39.55 kB / 402.6 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.2508, allocations: 5.719 kB / 402.6 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.339e-05/0.2509, allocations: 10.94 kB / 402.7 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.879e-05/0.2509, allocations: 19.72 kB / 402.7 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.383e-05/0.251, allocations: 49.23 kB / 402.7 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.2512, allocations: 105 kB / 402.8 MB, free: 9.816 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2512, allocations: 0 / 402.8 MB, free: 9.816 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2512, allocations: 0 / 402.8 MB, free: 9.816 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.2512, allocations: 4.844 kB / 402.8 MB, free: 9.812 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005338/0.2517, allocations: 398.5 kB / 403.2 MB, free: 9.438 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.2518, allocations: 9.406 kB / 403.2 MB, free: 9.438 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.406e-05/0.2518, allocations: 39.7 kB / 403.3 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.2519, allocations: 18.73 kB / 403.3 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.2521, allocations: 196.6 kB / 403.5 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.2521, allocations: 7.062 kB / 403.5 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.2521, allocations: 14.62 kB / 403.5 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.2523, allocations: 90.23 kB / 403.6 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.2524, allocations: 0.8125 kB / 403.6 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.2524, allocations: 9.234 kB / 403.6 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.2524, allocations: 2.094 kB / 403.6 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.2525, allocations: 56.8 kB / 403.7 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.253, allocations: 394.3 kB / 404 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.2532, allocations: 97.61 kB / 404.1 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.471e-05/0.2533, allocations: 40.2 kB / 404.2 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.2533, allocations: 1.406 kB / 404.2 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.2533, allocations: 39.42 kB / 404.2 MB, free: 8.766 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.2533, allocations: 0 / 404.2 MB, free: 8.766 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009236/0.2543, allocations: 0.6785 MB / 404.9 MB, free: 8.293 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/0.2543, allocations: 53.69 kB / 404.9 MB, free: 8.23 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.161e-05/0.2544, allocations: 120.5 kB / 405.1 MB, free: 8.133 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.2544, allocations: 34.95 kB / 405.1 MB, free: 8.098 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.862e-05/0.2544, allocations: 98.05 kB / 405.2 MB, free: 8.008 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.2545, allocations: 56.08 kB / 405.2 MB, free: 7.973 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.2545, allocations: 32.95 kB / 405.3 MB, free: 7.957 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.789e-05/0.2546, allocations: 322.1 kB / 405.6 MB, free: 7.645 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.485e-05/0.2546, allocations: 35.12 kB / 405.6 MB, free: 7.641 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.628e-05/0.2547, allocations: 56.03 kB / 405.7 MB, free: 7.617 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.2548, allocations: 105 kB / 405.8 MB, free: 7.586 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2549, allocations: 0 / 405.8 MB, free: 7.586 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001819/0.255, allocations: 152.8 kB / 405.9 MB, free: 7.52 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.2551, allocations: 5.75 kB / 405.9 MB, free: 7.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2551, allocations: 2.188 kB / 405.9 MB, free: 7.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.2551, allocations: 2.656 kB / 405.9 MB, free: 7.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.2553, allocations: 37.98 kB / 406 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.2553, allocations: 1.438 kB / 406 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.535e-05/0.2553, allocations: 10.28 kB / 406 MB, free: 7.508 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.2553, allocations: 4.078 kB / 406 MB, free: 7.508 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.028e-05/0.2554, allocations: 119.5 kB / 406.1 MB, free: 7.387 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.2554, allocations: 13.5 kB / 406.1 MB, free: 7.379 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.21e-05/0.2555, allocations: 19.17 kB / 406.1 MB, free: 7.359 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2555, allocations: 10.19 kB / 406.2 MB, free: 7.352 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.2555, allocations: 1.719 kB / 406.2 MB, free: 7.352 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2555, allocations: 4.734 kB / 406.2 MB, free: 7.352 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005298/0.256, allocations: 0.4905 MB / 406.7 MB, free: 6.934 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2561, allocations: 1.156 kB / 406.7 MB, free: 6.934 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.2562, allocations: 24.98 kB / 406.7 MB, free: 6.934 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001203/0.2564, allocations: 29.03 kB / 406.7 MB, free: 6.914 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.2564, allocations: 6.094 kB / 406.7 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006638/0.2571, allocations: 1.269 MB / 408 MB, free: 5.602 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2571, allocations: 5 kB / 408 MB, free: 5.598 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.2574, allocations: 304.6 kB / 408.3 MB, free: 5.371 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.2574, allocations: 92.28 kB / 408.4 MB, free: 5.27 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.2574, allocations: 5.969 kB / 408.4 MB, free: 5.266 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.2575, allocations: 2.125 kB / 408.4 MB, free: 5.266 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.2575, allocations: 17.16 kB / 408.4 MB, free: 5.258 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.2575, allocations: 3.594 kB / 408.4 MB, free: 5.258 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.84e-05/0.2576, allocations: 93.86 kB / 408.5 MB, free: 5.18 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2576, allocations: 1.344 kB / 408.5 MB, free: 5.18 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000254/0.2579, allocations: 27.28 kB / 408.5 MB, free: 5.176 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004677/0.2583, allocations: 0.8399 MB / 409.4 MB, free: 4.414 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.2585, allocations: 98.67 kB / 409.5 MB, free: 4.379 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2585, allocations: 4 kB / 409.5 MB, free: 4.375 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.2587, allocations: 161.8 kB / 409.6 MB, free: 4.25 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.2591, allocations: 28.48 kB / 409.6 MB, free: 4.238 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.2604, allocations: 1.823 MB / 411.5 MB, free: 2.664 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.2605, allocations: 0.703 MB / 412.2 MB, free: 1.969 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.054e-05/0.2606, allocations: 15.86 kB / 412.2 MB, free: 1.965 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.2606, allocations: 28.05 kB / 412.2 MB, free: 1.945 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2607, allocations: 0 / 412.2 MB, free: 1.945 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02616/0.2868, allocations: 2.677 MB / 414.9 MB, free: 1.645 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000143/0.287, allocations: 292.2 kB / 415.2 MB, free: 1.262 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.072, allocations: 2.188 kB / 415.2 MB, free: 1.262 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1)