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.001182/0.001182, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001282/0.001282, allocations: 191.6 kB / 16.13 MB, free: 6.652 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.634/1.634, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01091/0.01091, allocations: 1.935 MB / 271.3 MB, free: 3.543 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.001158/0.001158, allocations: 60.14 kB / 329.1 MB, free: 33.27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07687/0.07804, allocations: 47.14 MB / 376.3 MB, free: 2.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.003545/0.08161, allocations: 2.804 MB / 379.1 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008723/0.08251, allocations: 0.6321 MB / 379.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.08263, allocations: 4 kB / 379.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.08276, allocations: 27.77 kB / 379.7 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.08289, allocations: 47.55 kB / 379.8 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.08305, allocations: 39.97 kB / 379.8 MB, free: 14.51 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000217/0.08327, allocations: 226.8 kB / 380.1 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.0834, allocations: 56.5 kB / 380.1 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.324e-05/0.0835, allocations: 79.59 kB / 380.2 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.08364, allocations: 79.62 kB / 380.3 MB, free: 14.08 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.08368, allocations: 12 kB / 380.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.359e-05/0.08372, allocations: 8 kB / 380.3 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.74e-05/0.08376, allocations: 35.84 kB / 380.3 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.08386, allocations: 99.41 kB / 380.4 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.08407, allocations: 187.6 kB / 380.6 MB, free: 13.74 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.08408, allocations: 0 / 380.6 MB, free: 13.74 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.08408, allocations: 0 / 380.6 MB, free: 13.74 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.08409, allocations: 0 / 380.6 MB, free: 13.74 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006773/0.08477, allocations: 0.495 MB / 381.1 MB, free: 13.2 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.08482, allocations: 15.97 kB / 381.1 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.08487, allocations: 20.66 kB / 381.1 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.08507, allocations: 223.9 kB / 381.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.08509, allocations: 16.7 kB / 381.4 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.08513, allocations: 24.12 kB / 381.4 MB, free: 12.87 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.08543, allocations: 144.2 kB / 381.5 MB, free: 12.72 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.08545, allocations: 3.984 kB / 381.5 MB, free: 12.72 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.08547, allocations: 8 kB / 381.5 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.08548, allocations: 4 kB / 381.5 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.08573, allocations: 120.1 kB / 381.7 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008504/0.08658, allocations: 0.5428 MB / 382.2 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.08678, allocations: 102.5 kB / 382.3 MB, free: 11.89 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.08691, allocations: 60.81 kB / 382.4 MB, free: 11.82 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.08693, allocations: 4 kB / 382.4 MB, free: 11.82 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.08695, allocations: 30.56 kB / 382.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.08696, allocations: 0 / 382.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001624/0.08859, allocations: 0.6115 MB / 383 MB, free: 11.12 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.08864, allocations: 59.34 kB / 383.1 MB, free: 11.05 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.08881, allocations: 206.8 kB / 383.3 MB, free: 10.84 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.08884, allocations: 25.7 kB / 383.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/0.08892, allocations: 128.3 kB / 383.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.08897, allocations: 63.09 kB / 383.5 MB, free: 10.61 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/0.08903, allocations: 37.7 kB / 383.5 MB, free: 10.57 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.08914, allocations: 326.8 kB / 383.8 MB, free: 10.24 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.08926, allocations: 55.91 kB / 383.9 MB, free: 10.19 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.08938, allocations: 65.69 kB / 384 MB, free: 10.12 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.08961, allocations: 129.9 kB / 384.1 MB, free: 9.984 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.08962, allocations: 0 / 384.1 MB, free: 9.984 MB / 286.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002776/0.0899, allocations: 169.4 kB / 384.3 MB, free: 9.812 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.08993, allocations: 6.969 kB / 384.3 MB, free: 9.809 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.08993, allocations: 0 / 384.3 MB, free: 9.809 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.08995, allocations: 7.938 kB / 384.3 MB, free: 9.801 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.09016, allocations: 43.97 kB / 384.3 MB, free: 9.758 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.09017, allocations: 3.938 kB / 384.3 MB, free: 9.754 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.215e-05/0.09027, allocations: 4 kB / 384.3 MB, free: 9.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.09029, allocations: 8 kB / 384.3 MB, free: 9.742 MB / 286.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 9.805e-05/0.09039, allocations: 133.8 kB / 384.5 MB, free: 9.602 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.09043, allocations: 19.72 kB / 384.5 MB, free: 9.582 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.545e-05/0.09049, allocations: 25.88 kB / 384.5 MB, free: 9.555 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.09049, allocations: 3.938 kB / 384.5 MB, free: 9.551 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.0905, allocations: 0 / 384.5 MB, free: 9.551 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.09051, allocations: 7.922 kB / 384.5 MB, free: 9.543 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007203/0.09124, allocations: 0.5829 MB / 385.1 MB, free: 8.879 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.09126, allocations: 7.984 kB / 385.1 MB, free: 8.871 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.09144, allocations: 39.92 kB / 385.1 MB, free: 8.832 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.09146, allocations: 4 kB / 385.1 MB, free: 8.828 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.09147, allocations: 8.25 kB / 385.2 MB, free: 8.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.09148, allocations: 8 kB / 385.2 MB, free: 8.812 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.09149, allocations: 0 / 385.2 MB, free: 8.812 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.09196, allocations: 377.9 kB / 385.5 MB, free: 8.402 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.09e-05/0.09206, allocations: 112.9 kB / 385.6 MB, free: 8.273 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.0921, allocations: 7.938 kB / 385.6 MB, free: 8.266 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.09225, allocations: 15.98 kB / 385.7 MB, free: 8.25 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.0923, allocations: 23.92 kB / 385.7 MB, free: 8.227 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.09232, allocations: 8 kB / 385.7 MB, free: 8.219 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.09243, allocations: 144.6 kB / 385.8 MB, free: 8.078 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09244, allocations: 0 / 385.8 MB, free: 8.078 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.09271, allocations: 40 kB / 385.9 MB, free: 8.039 MB / 286.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 8.313e-05/0.0928, allocations: 99.19 kB / 386 MB, free: 7.934 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002683/0.09308, allocations: 135.7 kB / 386.1 MB, free: 7.801 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.09309, allocations: 0 / 386.1 MB, free: 7.801 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.09322, allocations: 67.86 kB / 386.2 MB, free: 7.734 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.09361, allocations: 32.95 kB / 386.2 MB, free: 7.703 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007572/0.09438, allocations: 0.5699 MB / 386.8 MB, free: 7.082 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.09466, allocations: 0.7322 MB / 387.5 MB, free: 6.324 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.328e-05/0.09475, allocations: 17.41 kB / 387.5 MB, free: 6.309 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.0948, allocations: 19.44 kB / 387.5 MB, free: 6.289 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.0948, allocations: 0 / 387.5 MB, free: 6.289 MB / 286.1 MB Notification: Performance of Templates: time 0.003479/0.09829, allocations: 1.481 MB / 389 MB, free: 4.812 MB / 286.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)