Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009627/0.0009628, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001257/0.001257, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.724/1.724, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3327/0.3327, allocations: 40 MB / 310.4 MB, free: 9.805 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00077/0.0007701, allocations: 16 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1652, allocations: 57.96 MB / 436.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.0007699/0.1661, allocations: 218 kB / 437 MB, free: 2.379 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008809/0.167, allocations: 301.4 kB / 437.3 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.732e-05/0.167, allocations: 0 / 437.3 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.32e-05/0.1671, allocations: 7.938 kB / 437.3 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.724e-06/0.1671, allocations: 0 / 437.3 MB, free: 2.074 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Utilities.mo:455:3-480:12:writable] Warning: Pure function ‘ModelicaTest.Utilities.Files‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0004467/0.1675, allocations: 67.81 kB / 437.4 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.61e-05/0.1676, allocations: 7.984 kB / 437.4 MB, free: 2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.258e-05/0.1676, allocations: 0 / 437.4 MB, free: 2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.632e-05/0.1677, allocations: 0 / 437.4 MB, free: 2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.523e-05/0.1677, allocations: 7.984 kB / 437.4 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.472e-06/0.1677, allocations: 0 / 437.4 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008077/0.1685, allocations: 315.7 kB / 437.7 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.013e-06/0.1686, allocations: 0 / 437.7 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.276e-05/0.1686, allocations: 29.7 kB / 437.7 MB, free: 1.648 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 8.107e-05/0.1687, allocations: 15.97 kB / 437.7 MB, free: 1.633 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1687, allocations: 0 / 437.7 MB, free: 1.633 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1687, allocations: 0 / 437.7 MB, free: 1.633 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1688, allocations: 3.938 kB / 437.7 MB, free: 1.629 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003807/0.1691, allocations: 337.1 kB / 438.1 MB, free: 1.246 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.1692, allocations: 12.02 kB / 438.1 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.1693, allocations: 0 / 438.1 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.1694, allocations: 171.3 kB / 438.3 MB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.1694, allocations: 0 / 438.3 MB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.1695, allocations: 0 / 438.3 MB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.1696, allocations: 29.64 kB / 438.3 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1696, allocations: 4 kB / 438.3 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1696, allocations: 0 / 438.3 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1696, allocations: 0 / 438.3 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.08e-05/0.1697, allocations: 0 / 438.3 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.1698, allocations: 153.6 kB / 438.4 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.521e-05/0.1699, allocations: 26.61 kB / 438.5 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.78e-05/0.1699, allocations: 4.859 kB / 438.5 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.751e-06/0.17, allocations: 3.938 kB / 438.5 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.014e-05/0.17, allocations: 60.33 kB / 438.5 MB, free: 0.668 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.17, allocations: 3.938 kB / 438.5 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002053/0.1703, allocations: 71.3 kB / 438.6 MB, free: 0.582 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.976e-05/0.1703, allocations: 81.23 kB / 438.7 MB, free: 496 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.912e-05/0.1704, allocations: 89.86 kB / 438.8 MB, free: 396 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.1704, allocations: 25.7 kB / 438.8 MB, free: 364 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.21e-05/0.1705, allocations: 80.14 kB / 438.9 MB, free: 280 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.1705, allocations: 3.938 kB / 438.9 MB, free: 276 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.1705, allocations: 0 / 438.9 MB, free: 276 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1707, allocations: 314.8 kB / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.261e-05/0.1707, allocations: 8 kB / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.774e-06/0.1707, allocations: 3.938 kB / 439.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.507e-05/0.1708, allocations: 33.75 kB / 439.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1708, allocations: 0 / 439.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.389e-05/0.1709, allocations: 59.41 kB / 439.3 MB, free: 15.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.16e-05/0.1709, allocations: 33.7 kB / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1709, allocations: 0 / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.171, allocations: 0 / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.372e-06/0.171, allocations: 0 / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.171, allocations: 0 / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.259e-05/0.171, allocations: 3.984 kB / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.171, allocations: 0 / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.1712, allocations: 147.5 kB / 439.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.375e-06/0.1712, allocations: 0 / 439.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.188e-05/0.1712, allocations: 3.125 kB / 439.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.1712, allocations: 0 / 439.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.1712, allocations: 7.938 kB / 439.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1712, allocations: 0 / 439.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.1713, allocations: 149.6 kB / 439.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1714, allocations: 0 / 439.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.475e-06/0.1714, allocations: 3.938 kB / 439.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1714, allocations: 4 kB / 439.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1714, allocations: 7.984 kB / 439.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1714, allocations: 4 kB / 439.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1714, allocations: 0 / 439.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.1715, allocations: 86.83 kB / 439.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/0.1716, allocations: 85.06 kB / 439.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.1716, allocations: 3.938 kB / 439.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.651e-05/0.1717, allocations: 4.031 kB / 439.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.1717, allocations: 0 / 439.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.1717, allocations: 0 / 439.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.027e-05/0.1717, allocations: 79.28 kB / 439.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1717, allocations: 0 / 439.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000291/0.172, allocations: 4 kB / 439.9 MB, free: 15.1 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003485/0.1724, allocations: 127 kB / 440 MB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.1725, allocations: 71.33 kB / 440.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1725, allocations: 0 / 440.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.046e-05/0.1726, allocations: 51.41 kB / 440.1 MB, free: 14.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.1728, allocations: 11.38 kB / 440.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002162/0.173, allocations: 78.75 kB / 440.2 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.1734, allocations: 0.6731 MB / 440.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.24e-06/0.1734, allocations: 0 / 440.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.142e-05/0.1734, allocations: 7.438 kB / 440.9 MB, free: 14.01 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1734, allocations: 4.125 kB / 440.9 MB, free: 14.01 MB / 382.1 MB Notification: Performance of Templates: time 0.002978/0.1764, allocations: 336.4 kB / 441.2 MB, free: 13.68 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe 2>&1) Environment - environmentSimulation: