Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestCylinder.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.TestCylinder,fileNamePrefix="MEV_MEV_Test_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinder,fileNamePrefix="MEV_MEV_Test_TestCylinder",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.005234/0.005234, allocations: 94.8 kB / 15.73 MB, free: 6.047 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.001302/0.001302, allocations: 206.4 kB / 16.68 MB, free: 5.973 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.478/1.478, allocations: 205.1 MB / 222.6 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009438/0.009438, 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.002243/0.002243, allocations: 67.89 kB / 377.7 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09079/0.09304, allocations: 47.13 MB / 424.9 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.1692/0.2623, allocations: 2.374 MB / 427.3 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008413/0.2631, allocations: 0.5812 MB / 427.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.482e-05/0.2633, allocations: 2.594 kB / 427.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.2634, allocations: 28.69 kB / 427.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.2636, allocations: 71.97 kB / 427.9 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.2637, allocations: 43.39 kB / 428 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.264, allocations: 240.3 kB / 428.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.2641, allocations: 56.42 kB / 428.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.277e-05/0.2642, allocations: 81.47 kB / 428.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.2644, allocations: 85.55 kB / 428.4 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.19e-05/0.2644, allocations: 19 kB / 428.4 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.823e-05/0.2645, allocations: 15.94 kB / 428.5 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.662e-05/0.2645, allocations: 37.98 kB / 428.5 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.991e-05/0.2646, allocations: 101.6 kB / 428.6 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.2649, allocations: 197.4 kB / 428.8 MB, free: 10.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.198e-05/0.2649, allocations: 4.625 kB / 428.8 MB, free: 10.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2649, allocations: 0 / 428.8 MB, free: 10.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.2649, allocations: 0 / 428.8 MB, free: 10.07 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006309/0.2655, allocations: 0.4955 MB / 429.3 MB, free: 9.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2656, allocations: 13.11 kB / 429.3 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.2656, allocations: 55.52 kB / 429.4 MB, free: 9.602 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.2657, allocations: 24.36 kB / 429.4 MB, free: 9.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.2659, allocations: 227.1 kB / 429.6 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.2659, allocations: 10.17 kB / 429.6 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.266, allocations: 18.47 kB / 429.6 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.2663, allocations: 154.4 kB / 429.8 MB, free: 9.328 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2663, allocations: 3.047 kB / 429.8 MB, free: 9.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.2663, allocations: 7.625 kB / 429.8 MB, free: 9.328 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.2663, allocations: 2.844 kB / 429.8 MB, free: 9.328 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.2666, allocations: 123.4 kB / 429.9 MB, free: 9.316 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008456/0.2674, allocations: 0.5495 MB / 430.5 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.2676, allocations: 98.91 kB / 430.6 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.2678, allocations: 54.03 kB / 430.6 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.2678, allocations: 3.516 kB / 430.6 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.365e-05/0.2678, allocations: 30.56 kB / 430.6 MB, free: 8.926 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.2678, allocations: 1.125 kB / 430.6 MB, free: 8.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001697/0.2695, allocations: 0.6289 MB / 431.3 MB, free: 8.531 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.2696, allocations: 53.31 kB / 431.3 MB, free: 8.469 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.2697, allocations: 200.5 kB / 431.5 MB, free: 8.336 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.2698, allocations: 31.05 kB / 431.6 MB, free: 8.301 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.2698, allocations: 126.2 kB / 431.7 MB, free: 8.188 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.2699, allocations: 63.19 kB / 431.7 MB, free: 8.137 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.2699, allocations: 40.16 kB / 431.8 MB, free: 8.105 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.138e-05/0.27, allocations: 324.5 kB / 432.1 MB, free: 7.789 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.2701, allocations: 49.06 kB / 432.1 MB, free: 7.773 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.2703, allocations: 68.72 kB / 432.2 MB, free: 7.738 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.2705, allocations: 133.4 kB / 432.3 MB, free: 7.668 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.2705, allocations: 1.406 kB / 432.3 MB, free: 7.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000296/0.2708, allocations: 175 kB / 432.5 MB, free: 7.582 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2708, allocations: 6.469 kB / 432.5 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2708, allocations: 4.031 kB / 432.5 MB, free: 7.578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.2709, allocations: 6 kB / 432.5 MB, free: 7.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.2711, allocations: 41.94 kB / 432.6 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2711, allocations: 3.969 kB / 432.6 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.2712, allocations: 10.03 kB / 432.6 MB, free: 7.566 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.2712, allocations: 5.688 kB / 432.6 MB, free: 7.566 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.972e-05/0.2713, allocations: 129.3 kB / 432.7 MB, free: 7.438 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.2713, allocations: 20.77 kB / 432.7 MB, free: 7.426 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.997e-05/0.2714, allocations: 33.27 kB / 432.8 MB, free: 7.398 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2714, allocations: 2.188 kB / 432.8 MB, free: 7.398 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.2714, allocations: 1.125 kB / 432.8 MB, free: 7.398 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.2714, allocations: 2.375 kB / 432.8 MB, free: 7.398 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006947/0.2721, allocations: 0.5891 MB / 433.4 MB, free: 6.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2721, allocations: 1.891 kB / 433.4 MB, free: 6.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.2723, allocations: 37.28 kB / 433.4 MB, free: 6.918 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.2723, allocations: 7.375 kB / 433.4 MB, free: 6.914 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.2724, allocations: 3.406 kB / 433.4 MB, free: 6.914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.2724, allocations: 4.109 kB / 433.4 MB, free: 6.914 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2724, allocations: 6.438 kB / 433.4 MB, free: 6.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/0.2728, allocations: 371 kB / 433.8 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.532e-05/0.2729, allocations: 115.7 kB / 433.9 MB, free: 6.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.2729, allocations: 8.266 kB / 433.9 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.2731, allocations: 12.34 kB / 433.9 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/0.2732, allocations: 21.92 kB / 433.9 MB, free: 6.504 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.2732, allocations: 7.688 kB / 433.9 MB, free: 6.504 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.614e-05/0.2733, allocations: 146.9 kB / 434.1 MB, free: 6.406 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2733, allocations: 0 / 434.1 MB, free: 6.406 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002887/0.2736, allocations: 40.22 kB / 434.1 MB, free: 6.402 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 (cylinder.y) * 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 (17): * Single equations (assignments): 17 * 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.0005688/0.2742, allocations: 0.9089 MB / 435 MB, free: 5.578 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003025/0.2745, allocations: 135.5 kB / 435.2 MB, free: 5.531 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2745, allocations: 1.219 kB / 435.2 MB, free: 5.531 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.2746, allocations: 66.95 kB / 435.2 MB, free: 5.512 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.275, allocations: 40.98 kB / 435.3 MB, free: 5.496 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.2772, allocations: 2.212 MB / 437.5 MB, free: 3.773 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.2774, allocations: 0.7298 MB / 438.2 MB, free: 3.078 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.594e-05/0.2775, allocations: 20.7 kB / 438.2 MB, free: 3.074 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.994e-05/0.2776, allocations: 52.64 kB / 438.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2776, allocations: 0 / 438.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3005/0.5781, allocations: 3.517 MB / 441.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.219/8.797, allocations: 7.922 kB / 441.8 MB, free: 2.406 MB / 318.1 MB (rm -f MEV_MEV.Test.TestCylinder.pipe ; mkfifo MEV_MEV.Test.TestCylinder.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinder.pipe >> ../files/MEV_MEV.Test.TestCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestCylinder_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestCylinder.fmu > MEV_MEV.Test.TestCylinder.pipe 2>&1)