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.001141/0.001141, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001132/0.001133, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.145/1.145, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007874/0.007874, allocations: 1.932 MB / 272.4 MB, free: 10.14 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.001393/0.001393, allocations: 71.84 kB / 330.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06662/0.06802, allocations: 47.12 MB / 377.6 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.1138/0.1819, allocations: 3.395 MB / 381 MB, free: 51.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.183, allocations: 0.8702 MB / 381.9 MB, free: 51.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.1832, allocations: 7.438 kB / 381.9 MB, free: 51.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.1834, allocations: 57.88 kB / 382 MB, free: 51.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.1836, allocations: 138.9 kB / 382.1 MB, free: 51.05 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.1839, allocations: 124.5 kB / 382.2 MB, free: 51.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003725/0.1843, allocations: 0.5161 MB / 382.7 MB, free: 50.99 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.1845, allocations: 149.8 kB / 382.9 MB, free: 50.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.1846, allocations: 192.1 kB / 383.1 MB, free: 50.92 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.1848, allocations: 200.2 kB / 383.3 MB, free: 50.87 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.452e-05/0.1849, allocations: 41.22 kB / 383.3 MB, free: 50.87 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.185, allocations: 49.55 kB / 383.4 MB, free: 50.87 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.579e-05/0.1851, allocations: 89.83 kB / 383.4 MB, free: 50.86 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.1853, allocations: 230.1 kB / 383.7 MB, free: 50.79 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003662/0.1856, allocations: 464 kB / 384.1 MB, free: 50.62 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.1857, allocations: 0.5938 kB / 384.1 MB, free: 50.62 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.1857, allocations: 0 / 384.1 MB, free: 50.62 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.1857, allocations: 2.938 kB / 384.1 MB, free: 50.62 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.001061/0.1867, allocations: 0.7403 MB / 384.9 MB, free: 50.04 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.1868, allocations: 13.64 kB / 384.9 MB, free: 50.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.643e-05/0.1869, allocations: 47.28 kB / 384.9 MB, free: 50.01 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.1871, allocations: 317.8 kB / 385.2 MB, free: 49.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.1872, allocations: 23.83 kB / 385.3 MB, free: 49.72 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.354e-05/0.1872, allocations: 39.39 kB / 385.3 MB, free: 49.71 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004976/0.1877, allocations: 294.8 kB / 385.6 MB, free: 49.58 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.1877, allocations: 2.578 kB / 385.6 MB, free: 49.58 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.1878, allocations: 10.88 kB / 385.6 MB, free: 49.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.1878, allocations: 12.14 kB / 385.6 MB, free: 49.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004863/0.1883, allocations: 239.2 kB / 385.8 MB, free: 49.49 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.1895, allocations: 0.9252 MB / 386.8 MB, free: 48.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004874/0.19, allocations: 264.4 kB / 387 MB, free: 48.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.1903, allocations: 120.7 kB / 387.1 MB, free: 48.78 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.1903, allocations: 7.266 kB / 387.1 MB, free: 48.78 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003738/0.1907, allocations: 181 kB / 387.3 MB, free: 48.69 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.1907, allocations: 0 / 387.3 MB, free: 48.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002047/0.1927, allocations: 1.225 MB / 388.6 MB, free: 47.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.1928, allocations: 56.94 kB / 388.6 MB, free: 47.85 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.193, allocations: 306.7 kB / 388.9 MB, free: 47.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.1931, allocations: 36.55 kB / 388.9 MB, free: 47.64 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.615e-05/0.1932, allocations: 192.2 kB / 389.1 MB, free: 47.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.988e-05/0.1932, allocations: 115 kB / 389.2 MB, free: 47.39 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.174e-05/0.1933, allocations: 72.31 kB / 389.3 MB, free: 47.35 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.083e-05/0.1934, allocations: 347.4 kB / 389.7 MB, free: 47.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.1936, allocations: 114.1 kB / 389.8 MB, free: 46.97 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.1939, allocations: 152.1 kB / 389.9 MB, free: 46.9 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/0.1943, allocations: 279.4 kB / 390.2 MB, free: 46.74 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1943, allocations: 2.969 kB / 390.2 MB, free: 46.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005873/0.1949, allocations: 394.4 kB / 390.6 MB, free: 46.55 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.1949, allocations: 32.47 kB / 390.6 MB, free: 46.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.195, allocations: 5.312 kB / 390.6 MB, free: 46.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.195, allocations: 8.125 kB / 390.6 MB, free: 46.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.1953, allocations: 73.25 kB / 390.7 MB, free: 46.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.1953, allocations: 1.469 kB / 390.7 MB, free: 46.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.1955, allocations: 24.41 kB / 390.7 MB, free: 46.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.1956, allocations: 12.92 kB / 390.7 MB, free: 46.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002858/0.1959, allocations: 220.7 kB / 390.9 MB, free: 46.36 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002339/0.1961, allocations: 147.3 kB / 391.1 MB, free: 46.29 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004157/0.1965, allocations: 275.1 kB / 391.4 MB, free: 46.14 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.393e-06/0.1965, allocations: 0 / 391.4 MB, free: 46.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0005741/0.1971, allocations: 381.3 kB / 391.7 MB, free: 45.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.1971, allocations: 42.05 kB / 391.8 MB, free: 45.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-06/0.1972, allocations: 0.7031 kB / 391.8 MB, free: 45.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.115e-06/0.1972, allocations: 2.906 kB / 391.8 MB, free: 45.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.1974, allocations: 72.7 kB / 391.8 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.1975, allocations: 2.984 kB / 391.8 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.1977, allocations: 26.09 kB / 391.9 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.1977, allocations: 13.27 kB / 391.9 MB, free: 45.9 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.48e-05/0.1978, allocations: 204.9 kB / 392.1 MB, free: 45.7 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.1978, allocations: 36.91 kB / 392.1 MB, free: 45.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005724/0.1984, allocations: 339.4 kB / 392.5 MB, free: 45.53 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1984, allocations: 4.125 kB / 392.5 MB, free: 45.53 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1984, allocations: 0 / 392.5 MB, free: 45.53 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1984, allocations: 2.859 kB / 392.5 MB, free: 45.53 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.1995, allocations: 0.8792 MB / 393.3 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1995, allocations: 3.312 kB / 393.3 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003426/0.1998, allocations: 78.81 kB / 393.4 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.1999, allocations: 7.094 kB / 393.4 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.1999, allocations: 9.516 kB / 393.4 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1999, allocations: 2.875 kB / 393.4 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1999, allocations: 5.406 kB / 393.4 MB, free: 44.94 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000772/0.2007, allocations: 0.5775 MB / 394 MB, free: 44.6 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.2008, allocations: 137.7 kB / 394.2 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-05/0.2008, allocations: 14.17 kB / 394.2 MB, free: 44.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.2011, allocations: 24.77 kB / 394.2 MB, free: 44.46 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.866e-05/0.2012, allocations: 36.25 kB / 394.2 MB, free: 44.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.2012, allocations: 17.62 kB / 394.2 MB, free: 44.45 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001691/0.2014, allocations: 217.4 kB / 394.5 MB, free: 44.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2014, allocations: 0 / 394.5 MB, free: 44.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004521/0.2019, allocations: 146.2 kB / 394.6 MB, free: 44.31 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 0.0001095/0.202, allocations: 111.6 kB / 394.7 MB, free: 44.21 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008886/0.2029, allocations: 0.5677 MB / 395.3 MB, free: 43.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2029, allocations: 1.188 kB / 395.3 MB, free: 43.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000277/0.2032, allocations: 150.2 kB / 395.4 MB, free: 43.88 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.2036, allocations: 70.48 kB / 395.5 MB, free: 43.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.205, allocations: 0.9898 MB / 396.5 MB, free: 43.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.2052, allocations: 0.7946 MB / 397.3 MB, free: 42.53 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.547e-05/0.2053, allocations: 31.41 kB / 397.3 MB, free: 42.53 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2053, allocations: 4 kB / 397.3 MB, free: 42.52 MB / 318.1 MB Notification: Performance of Templates: time 0.005748/0.2111, allocations: 4.347 MB / 401.7 MB, free: 41.43 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 -lv LOG_STATS > MEV_MEV.Test.TestCylinderUnitOnOff.pipe 2>&1)