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.001132/0.001132, allocations: 108.7 kB / 16.41 MB, free: 6.453 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.001083/0.001083, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.092/1.092, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007075/0.007075, allocations: 1.951 MB / 272.5 MB, free: 10.06 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.001299/0.001299, allocations: 71.42 kB / 378.9 MB, free: 51.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05719/0.0585, allocations: 47.14 MB / 426 MB, free: 19.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.002427/0.06095, allocations: 2.375 MB / 428.4 MB, free: 17.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007054/0.06168, allocations: 0.5855 MB / 429 MB, free: 17 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.06179, allocations: 4 kB / 429 MB, free: 16.99 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.06192, allocations: 23.72 kB / 429 MB, free: 16.97 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.06205, allocations: 75.33 kB / 429.1 MB, free: 16.89 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.06218, allocations: 43.94 kB / 429.1 MB, free: 16.85 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.06238, allocations: 238.8 kB / 429.4 MB, free: 16.62 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.0625, allocations: 52.84 kB / 429.4 MB, free: 16.56 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.936e-05/0.06258, allocations: 83.72 kB / 429.5 MB, free: 16.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.0627, allocations: 95.48 kB / 429.6 MB, free: 16.39 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.06273, allocations: 16 kB / 429.6 MB, free: 16.37 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.529e-05/0.06276, allocations: 16 kB / 429.6 MB, free: 16.36 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.508e-05/0.06279, allocations: 39.84 kB / 429.7 MB, free: 16.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.205e-05/0.06286, allocations: 103.5 kB / 429.8 MB, free: 16.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.06301, allocations: 191.3 kB / 430 MB, free: 16.03 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.06302, allocations: 0 / 430 MB, free: 16.03 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.06303, allocations: 0 / 430 MB, free: 16.03 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.06304, allocations: 0 / 430 MB, free: 16.03 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.0005403/0.06358, allocations: 0.5041 MB / 430.5 MB, free: 15.47 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.729e-05/0.06362, allocations: 11.89 kB / 430.5 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.06367, allocations: 28.66 kB / 430.5 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.06382, allocations: 216 kB / 430.7 MB, free: 15.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.06384, allocations: 12.7 kB / 430.7 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.06387, allocations: 16.12 kB / 430.7 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.06412, allocations: 160.1 kB / 430.9 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.06414, allocations: 0 / 430.9 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.06416, allocations: 8 kB / 430.9 MB, free: 14.99 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.06417, allocations: 4 kB / 430.9 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.06437, allocations: 120.5 kB / 431 MB, free: 14.87 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006718/0.06505, allocations: 0.5465 MB / 431.6 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.06522, allocations: 98.53 kB / 431.7 MB, free: 14.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.06533, allocations: 60.83 kB / 431.7 MB, free: 14.1 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.06535, allocations: 0 / 431.7 MB, free: 14.1 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.192e-05/0.06537, allocations: 34.56 kB / 431.8 MB, free: 14.06 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.06537, allocations: 3.938 kB / 431.8 MB, free: 14.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001376/0.06675, allocations: 0.6267 MB / 432.4 MB, free: 13.38 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.984e-05/0.06678, allocations: 55.41 kB / 432.4 MB, free: 13.31 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.0669, allocations: 195 kB / 432.6 MB, free: 13.11 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.06692, allocations: 29.7 kB / 432.7 MB, free: 13.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.06696, allocations: 132.3 kB / 432.8 MB, free: 12.94 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.06699, allocations: 55.2 kB / 432.8 MB, free: 12.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/0.06704, allocations: 41.61 kB / 432.9 MB, free: 12.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.51e-05/0.06708, allocations: 326.8 kB / 433.2 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.329e-05/0.06718, allocations: 43.97 kB / 433.2 MB, free: 12.47 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.516e-05/0.06728, allocations: 69.69 kB / 433.3 MB, free: 12.39 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.06747, allocations: 133.9 kB / 433.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.06748, allocations: 0 / 433.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000241/0.06772, allocations: 169.4 kB / 433.6 MB, free: 12.09 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.06774, allocations: 8 kB / 433.6 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.06775, allocations: 0 / 433.6 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.06777, allocations: 3.938 kB / 433.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.06794, allocations: 47.94 kB / 433.7 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.06795, allocations: 0 / 433.7 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.882e-05/0.06804, allocations: 11.98 kB / 433.7 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.06806, allocations: 4 kB / 433.7 MB, free: 12.01 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 6.212e-05/0.06812, allocations: 133.8 kB / 433.8 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.06816, allocations: 15.81 kB / 433.8 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.0682, allocations: 25.88 kB / 433.9 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.06821, allocations: 7.938 kB / 433.9 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.06822, allocations: 7.922 kB / 433.9 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.06822, allocations: 4 kB / 433.9 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005439/0.06877, allocations: 0.5829 MB / 434.5 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.06879, allocations: 4 kB / 434.5 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.06895, allocations: 35.98 kB / 434.5 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.06896, allocations: 0 / 434.5 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.06897, allocations: 8 kB / 434.5 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.06898, allocations: 7.938 kB / 434.5 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.06899, allocations: 7.984 kB / 434.5 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.06935, allocations: 386 kB / 434.9 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.849e-05/0.06942, allocations: 104.9 kB / 435 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.06945, allocations: 12 kB / 435 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.0696, allocations: 15.98 kB / 435 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.06964, allocations: 15.92 kB / 435 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.06965, allocations: 8 kB / 435.1 MB, free: 10.49 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.955e-05/0.06973, allocations: 148.5 kB / 435.2 MB, free: 10.35 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.06973, allocations: 0 / 435.2 MB, free: 10.35 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.06999, allocations: 44 kB / 435.2 MB, free: 10.3 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 5.178e-05/0.07004, allocations: 95.19 kB / 435.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.07028, allocations: 131.8 kB / 435.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.0703, allocations: 4.062 kB / 435.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.07041, allocations: 71.84 kB / 435.5 MB, free: 9.996 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.07071, allocations: 20.66 kB / 435.6 MB, free: 9.977 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/0.07128, allocations: 0.5393 MB / 436.1 MB, free: 9.379 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.07139, allocations: 0.7319 MB / 436.8 MB, free: 8.621 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.07144, allocations: 15.44 kB / 436.8 MB, free: 8.605 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.07145, allocations: 0 / 436.8 MB, free: 8.605 MB / 318.1 MB Notification: Performance of Templates: time 0.002455/0.07391, allocations: 2.013 MB / 438.9 MB, free: 6.59 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)