Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestCylinderUnitLinearize.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(MEV.Test.TestCylinderUnitLinearize,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitLinearize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinderUnitLinearize,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitLinearize",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.005925/0.005925, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001353/0.001353, allocations: 198.8 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008706/0.008706, allocations: 1.935 MB / 271.8 MB, free: 3.254 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 75.88 kB / 377.8 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08414/0.08627, allocations: 47.12 MB / 424.9 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.1599/0.2462, allocations: 3.122 MB / 428 MB, free: 10.08 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.2473, allocations: 0.7829 MB / 428.8 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.2475, allocations: 3.875 kB / 428.8 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.2476, allocations: 53.59 kB / 428.8 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.2478, allocations: 118 kB / 428.9 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.2481, allocations: 96.64 kB / 429 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00034/0.2484, allocations: 424.1 kB / 429.5 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/0.2487, allocations: 133.3 kB / 429.6 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.2488, allocations: 150 kB / 429.7 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.249, allocations: 160.3 kB / 429.9 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/0.249, allocations: 32.84 kB / 429.9 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.2491, allocations: 48.72 kB / 430 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.241e-05/0.2492, allocations: 73.62 kB / 430 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.2494, allocations: 179.5 kB / 430.2 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004309/0.2498, allocations: 401 kB / 430.6 MB, free: 9.195 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2498, allocations: 0 / 430.6 MB, free: 9.195 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2498, allocations: 0.875 kB / 430.6 MB, free: 9.195 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.2498, allocations: 1.469 kB / 430.6 MB, free: 9.195 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0008595/0.2507, allocations: 0.6293 MB / 431.2 MB, free: 8.664 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.2507, allocations: 13.3 kB / 431.3 MB, free: 8.66 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.783e-05/0.2508, allocations: 67.27 kB / 431.3 MB, free: 8.602 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.201e-05/0.2509, allocations: 39.98 kB / 431.4 MB, free: 8.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.2512, allocations: 289.6 kB / 431.6 MB, free: 8.309 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.2513, allocations: 28.84 kB / 431.7 MB, free: 8.293 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/0.2513, allocations: 29.06 kB / 431.7 MB, free: 8.281 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.2517, allocations: 231.1 kB / 431.9 MB, free: 8.172 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.2517, allocations: 1.375 kB / 431.9 MB, free: 8.172 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.2518, allocations: 9.375 kB / 431.9 MB, free: 8.164 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.2518, allocations: 7.641 kB / 431.9 MB, free: 8.164 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.2521, allocations: 173.5 kB / 432.1 MB, free: 8.102 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.2532, allocations: 0.8106 MB / 432.9 MB, free: 7.574 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/0.2537, allocations: 194.9 kB / 433.1 MB, free: 7.484 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.2538, allocations: 76.34 kB / 433.2 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.2539, allocations: 2.062 kB / 433.2 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.2539, allocations: 37.47 kB / 433.2 MB, free: 7.406 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.2539, allocations: 3.938 kB / 433.2 MB, free: 7.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001427/0.2553, allocations: 0.9463 MB / 434.2 MB, free: 6.695 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.2554, allocations: 53.69 kB / 434.2 MB, free: 6.633 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.2556, allocations: 286 kB / 434.5 MB, free: 6.469 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.2557, allocations: 29.7 kB / 434.5 MB, free: 6.434 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.184e-05/0.2557, allocations: 188.8 kB / 434.7 MB, free: 6.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.2558, allocations: 89.77 kB / 434.8 MB, free: 6.199 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.648e-05/0.2559, allocations: 57.62 kB / 434.9 MB, free: 6.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.268e-05/0.2559, allocations: 338.5 kB / 435.2 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.2561, allocations: 73.73 kB / 435.3 MB, free: 5.801 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.2562, allocations: 110 kB / 435.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.2565, allocations: 180.4 kB / 435.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2565, allocations: 1.219 kB / 435.6 MB, free: 5.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003595/0.2569, allocations: 268 kB / 435.8 MB, free: 5.484 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2569, allocations: 8.969 kB / 435.8 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2569, allocations: 0.9375 kB / 435.8 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.2569, allocations: 3.609 kB / 435.8 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.2572, allocations: 55.81 kB / 435.9 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.2572, allocations: 3.594 kB / 435.9 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.2573, allocations: 7.531 kB / 435.9 MB, free: 5.473 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.2573, allocations: 10.5 kB / 435.9 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000181/0.2575, allocations: 176.3 kB / 436.1 MB, free: 5.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001414/0.2577, allocations: 111 kB / 436.2 MB, free: 5.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002374/0.2579, allocations: 182.3 kB / 436.4 MB, free: 5.156 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.2579, allocations: 4 kB / 436.4 MB, free: 5.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0003295/0.2583, allocations: 250.7 kB / 436.6 MB, free: 5.027 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.065e-06/0.2583, allocations: 5.781 kB / 436.6 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.2583, allocations: 4.312 kB / 436.6 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.633e-06/0.2583, allocations: 7.406 kB / 436.6 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.2585, allocations: 56.03 kB / 436.7 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.2585, allocations: 2.469 kB / 436.7 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.2587, allocations: 10.28 kB / 436.7 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.2587, allocations: 10.44 kB / 436.7 MB, free: 5.008 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (34): * Single equations (assignments): 34 * 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 7.356e-05/0.2588, allocations: 193.7 kB / 436.9 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.2588, allocations: 34.19 kB / 436.9 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003518/0.2592, allocations: 221.7 kB / 437.1 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2592, allocations: 6.125 kB / 437.1 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2592, allocations: 1.094 kB / 437.1 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.2592, allocations: 1.172 kB / 437.2 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008974/0.2601, allocations: 0.7169 MB / 437.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.2601, allocations: 2.594 kB / 437.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/0.2604, allocations: 61 kB / 437.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2604, allocations: 2.188 kB / 437.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.2605, allocations: 13.41 kB / 437.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.2605, allocations: 3.406 kB / 437.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.2605, allocations: 9 kB / 438 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004496/0.2609, allocations: 428.2 kB / 438.4 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.88e-05/0.261, allocations: 132 kB / 438.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.2611, allocations: 6.938 kB / 438.5 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.2613, allocations: 11.81 kB / 438.5 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.2613, allocations: 24.81 kB / 438.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.2613, allocations: 8.359 kB / 438.6 MB, free: 3.707 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001693/0.2615, allocations: 199.2 kB / 438.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2615, allocations: 1.125 kB / 438.8 MB, free: 3.594 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004508/0.262, allocations: 113.5 kB / 438.9 MB, free: 3.582 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * 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 (26): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.0006413/0.2626, allocations: 0.9783 MB / 439.8 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005103/0.2631, allocations: 288.2 kB / 440.1 MB, free: 2.645 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2632, allocations: 1.094 kB / 440.1 MB, free: 2.645 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.2633, allocations: 90.94 kB / 440.2 MB, free: 2.613 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.2638, allocations: 57.33 kB / 440.3 MB, free: 2.578 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/0.2673, allocations: 3.053 MB / 443.3 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.2676, allocations: 0.7762 MB / 444.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.2677, allocations: 36.84 kB / 444.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.2679, allocations: 101.9 kB / 444.2 MB, free: 15.71 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2679, allocations: 0 / 444.2 MB, free: 15.71 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03204/0.2999, allocations: 6.023 MB / 450.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.155/8.455, allocations: 6.297 kB / 450.3 MB, free: 14.05 MB / 334.1 MB (rm -f MEV_MEV.Test.TestCylinderUnitLinearize.pipe ; mkfifo MEV_MEV.Test.TestCylinderUnitLinearize.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinderUnitLinearize.pipe >> ../files/MEV_MEV.Test.TestCylinderUnitLinearize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestCylinderUnitLinearize_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestCylinderUnitLinearize.fmu > MEV_MEV.Test.TestCylinderUnitLinearize.pipe 2>&1)