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.005098/0.005098, allocations: 109.1 kB / 15.74 MB, free: 6.016 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.00114/0.001141, allocations: 190.3 kB / 16.67 MB, free: 5.941 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.32/1.32, allocations: 205.1 MB / 222.6 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009397/0.009397, allocations: 1.924 MB / 271.8 MB, free: 3.27 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.00161/0.00161, allocations: 68.11 kB / 377.7 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08284/0.08446, allocations: 47.13 MB / 424.9 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.1787/0.2632, allocations: 3.113 MB / 428 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.2644, allocations: 0.7835 MB / 428.8 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.2646, allocations: 3.938 kB / 428.8 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.2647, allocations: 57.39 kB / 428.8 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.265, allocations: 121.8 kB / 429 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.2653, allocations: 91.23 kB / 429 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003717/0.2657, allocations: 425.8 kB / 429.5 MB, free: 9.469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.2659, allocations: 132.1 kB / 429.6 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.266, allocations: 149.4 kB / 429.7 MB, free: 9.418 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.2662, allocations: 164.2 kB / 429.9 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.772e-05/0.2663, allocations: 33.94 kB / 429.9 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.707e-05/0.2664, allocations: 44.62 kB / 430 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.558e-05/0.2664, allocations: 64.5 kB / 430 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.2666, allocations: 184.9 kB / 430.2 MB, free: 9.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.267, allocations: 402.4 kB / 430.6 MB, free: 9.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.267, allocations: 1.062 kB / 430.6 MB, free: 9.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.267, allocations: 3.344 kB / 430.6 MB, free: 9.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.267, allocations: 0 / 430.6 MB, free: 9.172 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.0008447/0.2679, allocations: 0.6159 MB / 431.2 MB, free: 8.656 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2679, allocations: 17.55 kB / 431.2 MB, free: 8.648 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.767e-05/0.268, allocations: 67.05 kB / 431.3 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.429e-05/0.2681, allocations: 34.91 kB / 431.3 MB, free: 8.574 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.2684, allocations: 293.4 kB / 431.6 MB, free: 8.297 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.2685, allocations: 19.72 kB / 431.6 MB, free: 8.289 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.82e-05/0.2685, allocations: 32.75 kB / 431.7 MB, free: 8.277 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.2689, allocations: 232.1 kB / 431.9 MB, free: 8.168 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.269, allocations: 13.61 kB / 431.9 MB, free: 8.156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.269, allocations: 10.69 kB / 431.9 MB, free: 8.148 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.269, allocations: 9.562 kB / 431.9 MB, free: 8.145 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.2693, allocations: 168.6 kB / 432.1 MB, free: 8.086 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.2705, allocations: 0.8064 MB / 432.9 MB, free: 7.562 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005053/0.271, allocations: 189.5 kB / 433.1 MB, free: 7.477 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.2711, allocations: 75.28 kB / 433.2 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.2712, allocations: 2.125 kB / 433.2 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.2712, allocations: 33.3 kB / 433.2 MB, free: 7.402 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.2712, allocations: 5.344 kB / 433.2 MB, free: 7.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001466/0.2727, allocations: 0.9416 MB / 434.2 MB, free: 6.691 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.2727, allocations: 54.31 kB / 434.2 MB, free: 6.629 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.273, allocations: 280 kB / 434.5 MB, free: 6.469 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.273, allocations: 27.11 kB / 434.5 MB, free: 6.438 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.218e-05/0.2731, allocations: 184.8 kB / 434.7 MB, free: 6.277 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.2731, allocations: 89.33 kB / 434.8 MB, free: 6.207 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.1e-05/0.2732, allocations: 61.19 kB / 434.8 MB, free: 6.164 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.888e-05/0.2733, allocations: 338.1 kB / 435.2 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.2734, allocations: 70.2 kB / 435.2 MB, free: 5.809 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.2736, allocations: 110 kB / 435.3 MB, free: 5.738 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.2738, allocations: 185.6 kB / 435.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.2738, allocations: 0 / 435.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003615/0.2742, allocations: 255 kB / 435.8 MB, free: 5.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.2742, allocations: 9.438 kB / 435.8 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2742, allocations: 1.516 kB / 435.8 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.2742, allocations: 4.156 kB / 435.8 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.2745, allocations: 64.73 kB / 435.8 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.2745, allocations: 2.312 kB / 435.8 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.2747, allocations: 7.141 kB / 435.9 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.2747, allocations: 7.75 kB / 435.9 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001723/0.2749, allocations: 176.3 kB / 436 MB, free: 5.355 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001206/0.275, allocations: 117.4 kB / 436.2 MB, free: 5.277 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002151/0.2752, allocations: 185 kB / 436.3 MB, free: 5.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.2752, allocations: 1.375 kB / 436.3 MB, free: 5.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0003297/0.2756, allocations: 246.9 kB / 436.6 MB, free: 5.039 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/0.2756, allocations: 4.75 kB / 436.6 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.2756, allocations: 2.531 kB / 436.6 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.391e-06/0.2756, allocations: 12.61 kB / 436.6 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.2758, allocations: 57.88 kB / 436.6 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2758, allocations: 8.062 kB / 436.7 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.276, allocations: 7.266 kB / 436.7 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.276, allocations: 7 kB / 436.7 MB, free: 5.016 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.297e-05/0.2761, allocations: 191.6 kB / 436.9 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.2761, allocations: 30.34 kB / 436.9 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003426/0.2765, allocations: 221.8 kB / 437.1 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2765, allocations: 11.5 kB / 437.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2765, allocations: 0 / 437.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2765, allocations: 1.547 kB / 437.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008807/0.2774, allocations: 0.7203 MB / 437.8 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2774, allocations: 6.062 kB / 437.8 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.2777, allocations: 61.41 kB / 437.9 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.2777, allocations: 2.719 kB / 437.9 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.2778, allocations: 7.547 kB / 437.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.2778, allocations: 2.25 kB / 437.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.2778, allocations: 1.703 kB / 437.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004597/0.2782, allocations: 435.8 kB / 438.3 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.2784, allocations: 127.5 kB / 438.5 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.2784, allocations: 7.844 kB / 438.5 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.2786, allocations: 7.391 kB / 438.5 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.2786, allocations: 21.77 kB / 438.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.2786, allocations: 10.75 kB / 438.5 MB, free: 3.723 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.2788, allocations: 199.9 kB / 438.7 MB, free: 3.609 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2788, allocations: 0 / 438.7 MB, free: 3.609 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004874/0.2793, allocations: 115 kB / 438.8 MB, free: 3.598 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.0006178/0.2799, allocations: 0.9694 MB / 439.8 MB, free: 2.766 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004867/0.2804, allocations: 284.9 kB / 440.1 MB, free: 2.672 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2805, allocations: 1 kB / 440.1 MB, free: 2.672 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.2806, allocations: 95.11 kB / 440.2 MB, free: 2.637 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.2811, allocations: 46.83 kB / 440.2 MB, free: 2.609 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/0.2845, allocations: 3.057 MB / 443.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.2847, allocations: 0.7733 MB / 444 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001469/0.2849, allocations: 32.94 kB / 444.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.285, allocations: 97.03 kB / 444.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2851, allocations: 4 kB / 444.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.3123, allocations: 6.104 MB / 450.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.733/8.045, allocations: 8.984 kB / 450.3 MB, free: 14.04 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)