Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestCylinderUnitLinearize.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.TestCylinderUnitLinearize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitLinearize") translateModel(MEV.Test.TestCylinderUnitLinearize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitLinearize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 102.1 kB / 16.35 MB, free: 5.824 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.001705/0.001705, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.37/1.37, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007411/0.007412, allocations: 1.947 MB / 272.5 MB, free: 10.08 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.001386/0.001386, allocations: 71.91 kB / 331.3 MB, free: 15.19 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1624, allocations: 47.12 MB / 378.4 MB, free: 53.06 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.003101/0.1656, allocations: 3.119 MB / 381.5 MB, free: 51.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009481/0.1665, allocations: 0.7851 MB / 382.3 MB, free: 51.58 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.1667, allocations: 5 kB / 382.3 MB, free: 51.58 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.1668, allocations: 52.2 kB / 382.4 MB, free: 51.58 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.167, allocations: 118.9 kB / 382.5 MB, free: 51.56 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.1672, allocations: 94.75 kB / 382.6 MB, free: 51.55 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003099/0.1675, allocations: 421.4 kB / 383 MB, free: 51.53 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.1677, allocations: 129.5 kB / 383.1 MB, free: 51.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.1679, allocations: 151.6 kB / 383.3 MB, free: 51.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.1681, allocations: 161.7 kB / 383.4 MB, free: 51.4 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.366e-05/0.1681, allocations: 35.56 kB / 383.4 MB, free: 51.4 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.863e-05/0.1682, allocations: 46.88 kB / 383.5 MB, free: 51.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.694e-05/0.1683, allocations: 70.25 kB / 383.6 MB, free: 51.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.1684, allocations: 189.9 kB / 383.7 MB, free: 51.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.1687, allocations: 394 kB / 384.1 MB, free: 51.06 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1687, allocations: 0 / 384.1 MB, free: 51.06 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1687, allocations: 0 / 384.1 MB, free: 51.06 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1687, allocations: 1 kB / 384.1 MB, free: 51.06 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0007723/0.1695, allocations: 0.6253 MB / 384.8 MB, free: 50.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.1695, allocations: 12.23 kB / 384.8 MB, free: 50.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.1696, allocations: 35.75 kB / 384.8 MB, free: 50.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.1699, allocations: 293.4 kB / 385.1 MB, free: 50.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.1699, allocations: 20.28 kB / 385.1 MB, free: 50.24 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.17, allocations: 32.84 kB / 385.1 MB, free: 50.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.1703, allocations: 228.9 kB / 385.4 MB, free: 50.12 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1704, allocations: 5.031 kB / 385.4 MB, free: 50.12 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.1704, allocations: 10.78 kB / 385.4 MB, free: 50.11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1704, allocations: 6.469 kB / 385.4 MB, free: 50.11 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002653/0.1707, allocations: 176.1 kB / 385.6 MB, free: 50.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.1717, allocations: 0.8056 MB / 386.4 MB, free: 49.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004463/0.1722, allocations: 188.4 kB / 386.5 MB, free: 49.44 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.1723, allocations: 71.97 kB / 386.6 MB, free: 49.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.1723, allocations: 1.5 kB / 386.6 MB, free: 49.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.363e-05/0.1724, allocations: 42.28 kB / 386.7 MB, free: 49.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.854e-06/0.1724, allocations: 0 / 386.7 MB, free: 49.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001266/0.1736, allocations: 0.932 MB / 387.6 MB, free: 48.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.781e-05/0.1737, allocations: 59.03 kB / 387.6 MB, free: 48.61 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.1739, allocations: 283.8 kB / 387.9 MB, free: 48.45 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.1739, allocations: 31.3 kB / 388 MB, free: 48.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.271e-05/0.174, allocations: 184.5 kB / 388.1 MB, free: 48.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.1741, allocations: 89.03 kB / 388.2 MB, free: 48.18 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.082e-05/0.1741, allocations: 53.53 kB / 388.3 MB, free: 48.15 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.576e-05/0.1742, allocations: 333.5 kB / 388.6 MB, free: 47.83 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.1743, allocations: 75.88 kB / 388.7 MB, free: 47.79 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.1744, allocations: 109.3 kB / 388.8 MB, free: 47.72 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.1747, allocations: 183.9 kB / 389 MB, free: 47.61 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1747, allocations: 0.6094 kB / 389 MB, free: 47.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003202/0.175, allocations: 263.2 kB / 389.2 MB, free: 47.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.175, allocations: 6.062 kB / 389.2 MB, free: 47.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.175, allocations: 4.688 kB / 389.2 MB, free: 47.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.175, allocations: 6.594 kB / 389.2 MB, free: 47.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.1753, allocations: 59.62 kB / 389.3 MB, free: 47.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1753, allocations: 3.078 kB / 389.3 MB, free: 47.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.1754, allocations: 7.344 kB / 389.3 MB, free: 47.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.1755, allocations: 12 kB / 389.3 MB, free: 47.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001551/0.1756, allocations: 178.4 kB / 389.5 MB, free: 47.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001093/0.1757, allocations: 109.9 kB / 389.6 MB, free: 47.26 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001943/0.1759, allocations: 186.2 kB / 389.8 MB, free: 47.14 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.152e-06/0.1759, allocations: 4 kB / 389.8 MB, free: 47.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0002883/0.1762, allocations: 245.6 kB / 390 MB, free: 47.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.091e-06/0.1762, allocations: 7.562 kB / 390 MB, free: 47.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-06/0.1763, allocations: 1.375 kB / 390 MB, free: 47.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-06/0.1763, allocations: 2.75 kB / 390 MB, free: 47.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.1765, allocations: 59.58 kB / 390.1 MB, free: 47.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.1765, allocations: 2.75 kB / 390.1 MB, free: 47.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.1766, allocations: 6.125 kB / 390.1 MB, free: 47.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.1766, allocations: 16.22 kB / 390.1 MB, free: 47 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (34): * Single equations (assignments): 34 * 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 5.559e-05/0.1767, allocations: 193 kB / 390.3 MB, free: 46.81 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.1767, allocations: 28.91 kB / 390.3 MB, free: 46.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.177, allocations: 226 kB / 390.6 MB, free: 46.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.1771, allocations: 2.375 kB / 390.6 MB, free: 46.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1771, allocations: 1.469 kB / 390.6 MB, free: 46.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1771, allocations: 1.5 kB / 390.6 MB, free: 46.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007321/0.1778, allocations: 0.7252 MB / 391.3 MB, free: 46.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1778, allocations: 3.234 kB / 391.3 MB, free: 46.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/0.1781, allocations: 55.7 kB / 391.3 MB, free: 46.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1781, allocations: 6.375 kB / 391.4 MB, free: 46.14 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.1782, allocations: 8.953 kB / 391.4 MB, free: 46.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1782, allocations: 2.016 kB / 391.4 MB, free: 46.14 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1782, allocations: 6.875 kB / 391.4 MB, free: 46.14 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003986/0.1786, allocations: 428.3 kB / 391.8 MB, free: 45.85 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.567e-05/0.1787, allocations: 133.9 kB / 391.9 MB, free: 45.72 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.1787, allocations: 9.438 kB / 391.9 MB, free: 45.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.1789, allocations: 16.47 kB / 391.9 MB, free: 45.71 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.179, allocations: 18.72 kB / 392 MB, free: 45.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.179, allocations: 10.34 kB / 392 MB, free: 45.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.1791, allocations: 201.2 kB / 392.2 MB, free: 45.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1791, allocations: 0 / 392.2 MB, free: 45.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004219/0.1796, allocations: 112.8 kB / 392.3 MB, free: 45.57 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.485e-05/0.1797, allocations: 106.7 kB / 392.4 MB, free: 45.47 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003982/0.1801, allocations: 278.7 kB / 392.7 MB, free: 45.39 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1801, allocations: 0 / 392.7 MB, free: 45.39 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.1802, allocations: 92.94 kB / 392.7 MB, free: 45.36 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.1806, allocations: 54.98 kB / 392.8 MB, free: 45.33 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.1817, allocations: 0.823 MB / 393.6 MB, free: 44.81 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.1819, allocations: 0.774 MB / 394.4 MB, free: 44.11 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.182, allocations: 38.75 kB / 394.4 MB, free: 44.11 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.707e-05/0.1821, allocations: 23.75 kB / 394.5 MB, free: 44.1 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1821, allocations: 0 / 394.5 MB, free: 44.1 MB / 318.1 MB Notification: Performance of Templates: time 0.00592/0.188, allocations: 2.942 MB / 397.4 MB, free: 43.97 MB / 318.1 MB make -j1 -f MEV_MEV.Test.TestCylinderUnitLinearize.makefile (rm -f MEV_MEV.Test.TestCylinderUnitLinearize.pipe ; mkfifo MEV_MEV.Test.TestCylinderUnitLinearize.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinderUnitLinearize.pipe >> ../files/MEV_MEV.Test.TestCylinderUnitLinearize.sim & ./MEV_MEV.Test.TestCylinderUnitLinearize -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > MEV_MEV.Test.TestCylinderUnitLinearize.pipe 2>&1)