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.001412/0.001412, allocations: 106.9 kB / 16.37 MB, free: 6.473 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.001584/0.001584, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.172/1.172, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008159/0.008159, allocations: 1.932 MB / 272.5 MB, free: 10.09 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.001415/0.001415, allocations: 75.89 kB / 331.3 MB, free: 15.19 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1835, allocations: 47.11 MB / 378.4 MB, free: 53.12 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003314/0.1868, allocations: 3.39 MB / 381.8 MB, free: 51.74 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1879, allocations: 0.8678 MB / 382.7 MB, free: 51.45 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.188, allocations: 7.094 kB / 382.7 MB, free: 51.45 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.1882, allocations: 65.17 kB / 382.7 MB, free: 51.45 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.1884, allocations: 134.9 kB / 382.9 MB, free: 51.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.1887, allocations: 124.5 kB / 383 MB, free: 51.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004112/0.1891, allocations: 0.5178 MB / 383.5 MB, free: 51.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.1894, allocations: 154.2 kB / 383.7 MB, free: 51.21 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.1895, allocations: 191.9 kB / 383.9 MB, free: 51.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.1898, allocations: 204.5 kB / 384.1 MB, free: 51.01 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.427e-05/0.1898, allocations: 42.16 kB / 384.1 MB, free: 51.01 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.938e-05/0.1899, allocations: 46.77 kB / 384.1 MB, free: 51.01 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.478e-05/0.19, allocations: 95.48 kB / 384.2 MB, free: 50.95 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.1902, allocations: 219.5 kB / 384.4 MB, free: 50.81 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.1906, allocations: 471.3 kB / 384.9 MB, free: 50.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1906, allocations: 0 / 384.9 MB, free: 50.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1906, allocations: 2.656 kB / 384.9 MB, free: 50.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.1906, allocations: 1.312 kB / 384.9 MB, free: 50.61 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001109/0.1917, allocations: 0.7412 MB / 385.7 MB, free: 50.03 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.1918, allocations: 13.88 kB / 385.7 MB, free: 50.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.809e-05/0.1918, allocations: 42.22 kB / 385.7 MB, free: 50 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.1922, allocations: 318.4 kB / 386 MB, free: 49.72 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.1922, allocations: 23.89 kB / 386 MB, free: 49.71 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.487e-05/0.1923, allocations: 38.95 kB / 386.1 MB, free: 49.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005209/0.1928, allocations: 294.8 kB / 386.4 MB, free: 49.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.1928, allocations: 1.875 kB / 386.4 MB, free: 49.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.1929, allocations: 14.67 kB / 386.4 MB, free: 49.56 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.1929, allocations: 8.969 kB / 386.4 MB, free: 49.56 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005081/0.1934, allocations: 241.3 kB / 386.6 MB, free: 49.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.1947, allocations: 0.9177 MB / 387.5 MB, free: 48.92 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/0.1952, allocations: 268.2 kB / 387.8 MB, free: 48.8 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.1954, allocations: 119.1 kB / 387.9 MB, free: 48.76 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.1955, allocations: 7.672 kB / 387.9 MB, free: 48.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003342/0.1958, allocations: 192.1 kB / 388.1 MB, free: 48.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.803e-06/0.1958, allocations: 0 / 388.1 MB, free: 48.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002115/0.1979, allocations: 1.218 MB / 389.3 MB, free: 47.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.198, allocations: 57.61 kB / 389.4 MB, free: 47.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.1982, allocations: 303.3 kB / 389.7 MB, free: 47.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.1983, allocations: 40.45 kB / 389.7 MB, free: 47.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.384e-05/0.1984, allocations: 192.2 kB / 389.9 MB, free: 47.45 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.97e-05/0.1984, allocations: 116 kB / 390 MB, free: 47.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.541e-05/0.1985, allocations: 70.36 kB / 390.1 MB, free: 47.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.225e-05/0.1986, allocations: 341.5 kB / 390.4 MB, free: 47 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.1988, allocations: 113.7 kB / 390.5 MB, free: 46.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.1991, allocations: 156.6 kB / 390.7 MB, free: 46.88 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/0.1996, allocations: 278.6 kB / 391 MB, free: 46.72 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1996, allocations: 1.344 kB / 391 MB, free: 46.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006327/0.2002, allocations: 395.6 kB / 391.4 MB, free: 46.53 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.2002, allocations: 33.3 kB / 391.4 MB, free: 46.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2003, allocations: 0 / 391.4 MB, free: 46.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.2003, allocations: 1.906 kB / 391.4 MB, free: 46.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.2006, allocations: 74.78 kB / 391.5 MB, free: 46.49 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2006, allocations: 5.844 kB / 391.5 MB, free: 46.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.2009, allocations: 21.36 kB / 391.5 MB, free: 46.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.2009, allocations: 15.7 kB / 391.5 MB, free: 46.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002928/0.2012, allocations: 225.1 kB / 391.7 MB, free: 46.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000239/0.2014, allocations: 142.7 kB / 391.9 MB, free: 46.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004266/0.2019, allocations: 269.5 kB / 392.1 MB, free: 46.12 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.916e-06/0.2019, allocations: 6.031 kB / 392.1 MB, free: 46.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006357/0.2025, allocations: 381.5 kB / 392.5 MB, free: 45.94 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.2026, allocations: 41.72 kB / 392.5 MB, free: 45.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.2026, allocations: 2.812 kB / 392.5 MB, free: 45.9 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.108e-06/0.2026, allocations: 6.344 kB / 392.6 MB, free: 45.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.2029, allocations: 68.81 kB / 392.6 MB, free: 45.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2029, allocations: 2.969 kB / 392.6 MB, free: 45.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.2031, allocations: 29.03 kB / 392.7 MB, free: 45.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.2031, allocations: 13.31 kB / 392.7 MB, free: 45.88 MB / 318.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 7.433e-05/0.2032, allocations: 200.5 kB / 392.9 MB, free: 45.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.2033, allocations: 41.66 kB / 392.9 MB, free: 45.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005904/0.2039, allocations: 333.9 kB / 393.2 MB, free: 45.51 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2039, allocations: 3.938 kB / 393.2 MB, free: 45.51 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2039, allocations: 5.938 kB / 393.2 MB, free: 45.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2039, allocations: 1.969 kB / 393.2 MB, free: 45.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.205, allocations: 0.8685 MB / 394.1 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.205, allocations: 5.031 kB / 394.1 MB, free: 44.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/0.2054, allocations: 84 kB / 394.2 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2054, allocations: 0 / 394.2 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.2054, allocations: 12.39 kB / 394.2 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2054, allocations: 4.734 kB / 394.2 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.2054, allocations: 7.594 kB / 394.2 MB, free: 44.92 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000803/0.2062, allocations: 0.5776 MB / 394.8 MB, free: 44.58 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.2064, allocations: 139 kB / 394.9 MB, free: 44.45 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.32e-05/0.2064, allocations: 18.62 kB / 395 MB, free: 44.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.2067, allocations: 26.97 kB / 395 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.712e-05/0.2068, allocations: 34.31 kB / 395 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.2068, allocations: 13.39 kB / 395 MB, free: 44.42 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001785/0.207, allocations: 215.9 kB / 395.2 MB, free: 44.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.207, allocations: 1.5 kB / 395.2 MB, free: 44.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004583/0.2075, allocations: 146 kB / 395.4 MB, free: 44.29 MB / 318.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 9.496e-05/0.2076, allocations: 111.9 kB / 395.5 MB, free: 44.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008749/0.2085, allocations: 0.5448 MB / 396 MB, free: 43.92 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2085, allocations: 1.094 kB / 396 MB, free: 43.92 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002975/0.2088, allocations: 158.7 kB / 396.2 MB, free: 43.87 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.2092, allocations: 70.14 kB / 396.3 MB, free: 43.85 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.2106, allocations: 0.9539 MB / 397.2 MB, free: 43.26 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.2108, allocations: 0.7952 MB / 398 MB, free: 42.55 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001767/0.211, allocations: 49.59 kB / 398.1 MB, free: 42.54 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.985e-05/0.2111, allocations: 33.19 kB / 398.1 MB, free: 42.54 MB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2111, allocations: 0 / 398.1 MB, free: 42.54 MB / 318.1 MB Notification: Performance of Templates: time 0.7322/0.9433, allocations: 4.206 MB / 402.3 MB, free: 41.45 MB / 318.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 -s gbode -lv LOG_STATS > MEV_MEV.Test.TestCylinderUnitOnOff.pipe 2>&1)