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: translateModel(MEV.Test.TestCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=166,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinder") translateModel(MEV.Test.TestCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=166,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006911/0.006911, allocations: 99.06 kB / 15.73 MB, free: 6.059 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.001166/0.001167, allocations: 188.8 kB / 16.67 MB, free: 5.969 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.339/1.339, allocations: 205.1 MB / 222.5 MB, free: 4.27 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008128/0.008128, allocations: 1.935 MB / 271.8 MB, free: 3.121 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.001425/0.001426, allocations: 72.11 kB / 378.2 MB, free: 420 kB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08161/0.08304, allocations: 47.13 MB / 425.4 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.1597/0.2428, allocations: 2.366 MB / 427.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007444/0.2435, allocations: 0.5818 MB / 428.3 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.027e-05/0.2436, allocations: 2.969 kB / 428.3 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.2438, allocations: 27.27 kB / 428.4 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.2439, allocations: 76.75 kB / 428.4 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.2441, allocations: 48.33 kB / 428.5 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.2443, allocations: 241.5 kB / 428.7 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.2444, allocations: 45.03 kB / 428.8 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.992e-05/0.2445, allocations: 88.77 kB / 428.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.2447, allocations: 88.11 kB / 428.9 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.2447, allocations: 19.55 kB / 428.9 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.039e-05/0.2447, allocations: 15.31 kB / 429 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.592e-05/0.2448, allocations: 36.77 kB / 429 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.807e-05/0.2449, allocations: 105.3 kB / 429.1 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.2451, allocations: 194 kB / 429.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2451, allocations: 4.438 kB / 429.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2451, allocations: 0 / 429.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.2451, allocations: 0 / 429.3 MB, free: 10.02 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.0006/0.2457, allocations: 0.4956 MB / 429.8 MB, free: 9.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.2458, allocations: 17.73 kB / 429.8 MB, free: 9.586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.2458, allocations: 24.27 kB / 429.8 MB, free: 9.574 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.246, allocations: 223.8 kB / 430.1 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.2461, allocations: 11.78 kB / 430.1 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/0.2461, allocations: 18.59 kB / 430.1 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.2464, allocations: 158.9 kB / 430.2 MB, free: 9.312 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2464, allocations: 0 / 430.2 MB, free: 9.312 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.2464, allocations: 7.969 kB / 430.2 MB, free: 9.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2464, allocations: 8 kB / 430.3 MB, free: 9.309 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002487/0.2467, allocations: 118.3 kB / 430.4 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008083/0.2475, allocations: 0.5413 MB / 430.9 MB, free: 8.992 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.2477, allocations: 98.92 kB / 431 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.2478, allocations: 55.16 kB / 431.1 MB, free: 8.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.978e-06/0.2479, allocations: 1.031 kB / 431.1 MB, free: 8.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.2479, allocations: 35.78 kB / 431.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.2479, allocations: 3.938 kB / 431.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.00163/0.2495, allocations: 0.6286 MB / 431.7 MB, free: 8.473 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.2496, allocations: 62.09 kB / 431.8 MB, free: 8.402 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.2497, allocations: 198.8 kB / 432 MB, free: 8.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.2497, allocations: 30.83 kB / 432 MB, free: 8.234 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.206e-05/0.2498, allocations: 127 kB / 432.1 MB, free: 8.121 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.2498, allocations: 60.42 kB / 432.2 MB, free: 8.074 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.409e-05/0.2499, allocations: 39.81 kB / 432.2 MB, free: 8.043 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.31e-05/0.2499, allocations: 326.9 kB / 432.6 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.2501, allocations: 46.2 kB / 432.6 MB, free: 7.711 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.2502, allocations: 74.11 kB / 432.7 MB, free: 7.672 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.2504, allocations: 125.6 kB / 432.8 MB, free: 7.609 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2504, allocations: 0 / 432.8 MB, free: 7.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002874/0.2507, allocations: 171.9 kB / 433 MB, free: 7.527 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2507, allocations: 5.688 kB / 433 MB, free: 7.527 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2507, allocations: 7.656 kB / 433 MB, free: 7.523 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.2508, allocations: 9 kB / 433 MB, free: 7.516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.251, allocations: 39.23 kB / 433 MB, free: 7.516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.251, allocations: 1.797 kB / 433 MB, free: 7.516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.2511, allocations: 9.172 kB / 433 MB, free: 7.512 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.2511, allocations: 4.625 kB / 433 MB, free: 7.512 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.305e-05/0.2512, allocations: 134.3 kB / 433.2 MB, free: 7.379 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.2512, allocations: 26.75 kB / 433.2 MB, free: 7.363 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/0.2513, allocations: 28.64 kB / 433.2 MB, free: 7.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2513, allocations: 5.156 kB / 433.2 MB, free: 7.336 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2513, allocations: 0.9375 kB / 433.2 MB, free: 7.336 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2513, allocations: 0.8438 kB / 433.2 MB, free: 7.336 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006848/0.252, allocations: 0.587 MB / 433.8 MB, free: 6.859 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.252, allocations: 1.812 kB / 433.8 MB, free: 6.859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.2522, allocations: 40.05 kB / 433.9 MB, free: 6.859 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.758e-06/0.2522, allocations: 4.5 kB / 433.9 MB, free: 6.859 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.2522, allocations: 7.594 kB / 433.9 MB, free: 6.855 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.2522, allocations: 6.562 kB / 433.9 MB, free: 6.852 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2523, allocations: 7.594 kB / 433.9 MB, free: 6.848 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004248/0.2527, allocations: 370.7 kB / 434.2 MB, free: 6.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.453e-05/0.2528, allocations: 110.6 kB / 434.4 MB, free: 6.461 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.2528, allocations: 13.88 kB / 434.4 MB, free: 6.453 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.253, allocations: 16.19 kB / 434.4 MB, free: 6.449 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.253, allocations: 19.08 kB / 434.4 MB, free: 6.441 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.253, allocations: 11.22 kB / 434.4 MB, free: 6.438 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.432e-05/0.2531, allocations: 143.2 kB / 434.6 MB, free: 6.344 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2532, allocations: 0 / 434.6 MB, free: 6.344 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003/0.2535, allocations: 44 kB / 434.6 MB, free: 6.336 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 6.596e-05/0.2535, allocations: 96.72 kB / 434.7 MB, free: 6.242 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002921/0.2538, allocations: 135.5 kB / 434.8 MB, free: 6.195 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2538, allocations: 0 / 434.8 MB, free: 6.195 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.254, allocations: 71.31 kB / 434.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.2543, allocations: 28.56 kB / 434.9 MB, free: 6.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007041/0.255, allocations: 0.5082 MB / 435.4 MB, free: 5.781 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.2552, allocations: 0.7341 MB / 436.2 MB, free: 5.082 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.086e-05/0.2553, allocations: 17.09 kB / 436.2 MB, free: 5.082 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.189e-05/0.2554, allocations: 15.84 kB / 436.2 MB, free: 5.074 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.2554, allocations: 0 / 436.2 MB, free: 5.074 MB / 318.1 MB Notification: Performance of Templates: time 0.004168/0.2595, allocations: 1.606 MB / 437.8 MB, free: 4.961 MB / 318.1 MB make -j1 -f MEV_MEV.Test.TestCylinder.makefile (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 & ./MEV_MEV.Test.TestCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestCylinder.pipe 2>&1)