Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestCylinderUnitOnOff.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.TestCylinderUnitOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitOnOff") translateModel(MEV.Test.TestCylinderUnitOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009545/0.0009546, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008484/0.0008485, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.324/1.324, allocations: 205.4 MB / 223.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008081/0.008081, allocations: 1.92 MB / 273.3 MB, free: 3.312 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.0004878/0.0004878, allocations: 15.98 kB / 332.1 MB, free: 33.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06955/0.07005, allocations: 48.1 MB / 380.2 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003848/0.07394, allocations: 3.618 MB / 383.9 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.07586, allocations: 0.9322 MB / 384.8 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002725/0.07616, allocations: 8 kB / 384.8 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.07633, allocations: 47.61 kB / 384.9 MB, free: 12.22 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.07664, allocations: 119.1 kB / 385 MB, free: 12.1 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.07697, allocations: 115.8 kB / 385.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004634/0.07744, allocations: 489.7 kB / 385.6 MB, free: 11.51 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002534/0.07771, allocations: 136.4 kB / 385.7 MB, free: 11.37 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.0779, allocations: 163.2 kB / 385.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.07813, allocations: 175.2 kB / 386 MB, free: 11.04 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.403e-05/0.07819, allocations: 23.94 kB / 386 MB, free: 11.01 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.63e-05/0.07828, allocations: 24 kB / 386.1 MB, free: 10.99 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.325e-05/0.07835, allocations: 63.69 kB / 386.1 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.07855, allocations: 220.6 kB / 386.4 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.07887, allocations: 343.1 kB / 386.7 MB, free: 10.37 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.07888, allocations: 0 / 386.7 MB, free: 10.37 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.07889, allocations: 7.938 kB / 386.7 MB, free: 10.36 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.0789, allocations: 0 / 386.7 MB, free: 10.36 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001191/0.0801, allocations: 0.6817 MB / 387.4 MB, free: 9.621 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.08014, allocations: 12.03 kB / 387.4 MB, free: 9.609 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.457e-05/0.08023, allocations: 40.47 kB / 387.4 MB, free: 9.57 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.08058, allocations: 311.4 kB / 387.7 MB, free: 9.227 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.08062, allocations: 25.03 kB / 387.8 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.197e-05/0.08069, allocations: 35.94 kB / 387.8 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006072/0.0813, allocations: 306 kB / 388.1 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.08133, allocations: 0 / 388.1 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/0.08137, allocations: 16 kB / 388.1 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.08138, allocations: 8 kB / 388.1 MB, free: 8.836 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005701/0.08196, allocations: 250.4 kB / 388.4 MB, free: 8.594 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.08351, allocations: 0.9324 MB / 389.3 MB, free: 7.609 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005856/0.08411, allocations: 283.2 kB / 389.6 MB, free: 7.324 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/0.0844, allocations: 125.2 kB / 389.7 MB, free: 7.199 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.08444, allocations: 240 / 389.7 MB, free: 7.199 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004368/0.08488, allocations: 195.4 kB / 389.9 MB, free: 6.996 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.843e-06/0.08489, allocations: 0 / 389.9 MB, free: 6.996 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.002624/0.08752, allocations: 1.266 MB / 391.1 MB, free: 5.641 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.08758, allocations: 55.41 kB / 391.2 MB, free: 5.574 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.0879, allocations: 304.6 kB / 391.5 MB, free: 5.27 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.08794, allocations: 41.7 kB / 391.5 MB, free: 5.223 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.08808, allocations: 184.7 kB / 391.7 MB, free: 5.039 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.17e-05/0.08817, allocations: 122.3 kB / 391.8 MB, free: 4.918 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.08823, allocations: 33.7 kB / 391.9 MB, free: 4.879 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.08836, allocations: 346.8 kB / 392.2 MB, free: 4.531 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.08864, allocations: 108.8 kB / 392.3 MB, free: 4.426 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.08895, allocations: 161.6 kB / 392.5 MB, free: 4.258 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005572/0.08952, allocations: 289.9 kB / 392.8 MB, free: 3.961 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.08953, allocations: 0 / 392.8 MB, free: 3.961 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007302/0.09027, allocations: 402.7 kB / 393.1 MB, free: 3.555 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.914e-05/0.09036, allocations: 136.5 kB / 393.3 MB, free: 3.402 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.09038, allocations: 3.984 kB / 393.3 MB, free: 3.398 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.0904, allocations: 4 kB / 393.3 MB, free: 3.395 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/0.09076, allocations: 75.89 kB / 393.4 MB, free: 3.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.09078, allocations: 7.938 kB / 393.4 MB, free: 3.312 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002617/0.09104, allocations: 27.98 kB / 393.4 MB, free: 3.285 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.09108, allocations: 12 kB / 393.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.293e-06/0.0911, allocations: 6.812 kB / 393.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000669/0.09177, allocations: 353 kB / 393.8 MB, free: 2.918 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-06/0.09179, allocations: 3.938 kB / 393.8 MB, free: 2.914 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.228e-06/0.0918, allocations: 3.938 kB / 393.8 MB, free: 2.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.09211, allocations: 79.89 kB / 393.8 MB, free: 2.832 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.09212, allocations: 0 / 393.8 MB, free: 2.832 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.09236, allocations: 35.97 kB / 393.9 MB, free: 2.797 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.09239, allocations: 12 kB / 393.9 MB, free: 2.785 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (controller.on,$PRE.controller.on,opening.count,$PRE.opening.count,opening.T_start,$PRE.opening.T_start,$whenCondition1,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001922/0.09259, allocations: 233.1 kB / 394.1 MB, free: 2.547 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.09265, allocations: 35.56 kB / 394.2 MB, free: 2.512 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007414/0.09339, allocations: 352.6 kB / 394.5 MB, free: 2.16 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.09341, allocations: 4 kB / 394.5 MB, free: 2.156 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.09342, allocations: 3.938 kB / 394.5 MB, free: 2.152 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.09343, allocations: 0 / 394.5 MB, free: 2.152 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.09476, allocations: 0.8897 MB / 395.4 MB, free: 1.191 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.09478, allocations: 4 kB / 395.4 MB, free: 1.188 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003863/0.09517, allocations: 79.88 kB / 395.5 MB, free: 1.109 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.09519, allocations: 8.156 kB / 395.5 MB, free: 1.102 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.09522, allocations: 12 kB / 395.5 MB, free: 1.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.09522, allocations: 0 / 395.5 MB, free: 1.09 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.09523, allocations: 4 kB / 395.5 MB, free: 1.086 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.09624, allocations: 0.5891 MB / 396.1 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.09641, allocations: 144.6 kB / 396.2 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.219e-05/0.09647, allocations: 12 kB / 396.2 MB, free: 296 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002913/0.09677, allocations: 31.97 kB / 396.3 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.132e-05/0.09687, allocations: 43.89 kB / 396.3 MB, free: 220 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.0969, allocations: 8 kB / 396.3 MB, free: 212 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002359/0.09714, allocations: 219.1 kB / 396.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.09715, allocations: 4 kB / 396.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005377/0.09769, allocations: 144 kB / 396.7 MB, free: 15.85 MB / 302.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: 6 ($whenCondition2,$whenCondition3,$whenCondition1,opening.T_start,opening.count,controller.on) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001456/0.09785, allocations: 111.1 kB / 396.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.09889, allocations: 0.5622 MB / 397.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.09891, allocations: 0 / 397.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000334/0.09925, allocations: 156.4 kB / 397.5 MB, free: 14.99 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005617/0.09982, allocations: 77.06 kB / 397.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.1016, allocations: 1.207 MB / 398.8 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.1019, allocations: 0.8039 MB / 399.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.1021, allocations: 35.42 kB / 399.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1021, allocations: 0 / 399.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of Templates: time 0.006873/0.1089, allocations: 4.295 MB / 403.9 MB, free: 8.492 MB / 302.1 MB make -j1 -f MEV_MEV.Test.TestCylinderUnitOnOff.makefile (rm -f MEV_MEV.Test.TestCylinderUnitOnOff.pipe ; mkfifo MEV_MEV.Test.TestCylinderUnitOnOff.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinderUnitOnOff.pipe >> ../files/MEV_MEV.Test.TestCylinderUnitOnOff.sim & ./MEV_MEV.Test.TestCylinderUnitOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestCylinderUnitOnOff.pipe 2>&1)