Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.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.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000982/0.0009821, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.009618/0.009618, allocations: 171 kB / 16.26 MB, free: 6.613 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.795/1.795, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3941/0.3941, allocations: 40 MB / 310.7 MB, free: 9.895 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.0006314/0.0006313, allocations: 12 kB / 379.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1459, allocations: 57.96 MB / 437.4 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0006782/0.1466, allocations: 222 kB / 437.6 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002718/0.1493, allocations: 1.326 MB / 438.9 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.109e-05/0.1494, allocations: 0 / 438.9 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.1494, allocations: 0 / 438.9 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.673e-06/0.1494, allocations: 4 kB / 439 MB, free: 0.6523 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Utilities.mo:4:3-219:14:writable] Warning: Pure function ‘ModelicaTest.Utilities.Strings‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.1511, allocations: 443 kB / 439.4 MB, free: 224 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.368e-05/0.1511, allocations: 7.984 kB / 439.4 MB, free: 216 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.397e-05/0.1512, allocations: 3.984 kB / 439.4 MB, free: 212 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.821e-05/0.1512, allocations: 0 / 439.4 MB, free: 212 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.632e-05/0.1512, allocations: 0 / 439.4 MB, free: 212 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.606e-06/0.1512, allocations: 0 / 439.4 MB, free: 212 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02687/0.1781, allocations: 2.338 MB / 441.7 MB, free: 13.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.1781, allocations: 0 / 441.7 MB, free: 13.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.552e-05/0.1782, allocations: 29.69 kB / 441.8 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000422/0.1786, allocations: 151.8 kB / 441.9 MB, free: 13.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1786, allocations: 0 / 441.9 MB, free: 13.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1786, allocations: 0 / 441.9 MB, free: 13.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.1787, allocations: 0 / 441.9 MB, free: 13.71 MB / 382.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.0004351/0.1791, allocations: 385.3 kB / 442.3 MB, free: 13.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.1791, allocations: 11.97 kB / 442.3 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.1792, allocations: 0.9375 kB / 442.3 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.1793, allocations: 164.3 kB / 442.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.1793, allocations: 384 / 442.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.1793, allocations: 4.375 kB / 442.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.1795, allocations: 29.83 kB / 442.5 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.1795, allocations: 0 / 442.5 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.1795, allocations: 0 / 442.5 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1795, allocations: 0 / 442.5 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.711e-05/0.1795, allocations: 11.94 kB / 442.5 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.1797, allocations: 149.7 kB / 442.7 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.465e-05/0.1798, allocations: 18.61 kB / 442.7 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.503e-05/0.1798, allocations: 4.859 kB / 442.7 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.1798, allocations: 0 / 442.7 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/0.1799, allocations: 60.2 kB / 442.7 MB, free: 12.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.1799, allocations: 0 / 442.7 MB, free: 12.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001922/0.1801, allocations: 79.3 kB / 442.8 MB, free: 12.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.1801, allocations: 77.11 kB / 442.9 MB, free: 12.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.153e-05/0.1802, allocations: 93.86 kB / 443 MB, free: 12.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.1802, allocations: 25.7 kB / 443 MB, free: 12.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.03e-05/0.1803, allocations: 80.14 kB / 443.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.1803, allocations: 0 / 443.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.1803, allocations: 9.719 kB / 443.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1804, allocations: 314.8 kB / 443.4 MB, free: 11.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.1805, allocations: 4.125 kB / 443.4 MB, free: 11.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.487e-06/0.1805, allocations: 7.984 kB / 443.4 MB, free: 11.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.125e-05/0.1805, allocations: 60.27 kB / 443.5 MB, free: 11.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1805, allocations: 0 / 443.5 MB, free: 11.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001003/0.1806, allocations: 59.34 kB / 443.5 MB, free: 11.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.893e-05/0.1807, allocations: 37.64 kB / 443.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1807, allocations: 3.984 kB / 443.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1807, allocations: 0 / 443.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.1807, allocations: 4.094 kB / 443.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1807, allocations: 0 / 443.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.932e-05/0.1808, allocations: 4 kB / 443.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.1808, allocations: 4 kB / 443.6 MB, free: 11.77 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.581e-05/0.1809, allocations: 139.5 kB / 443.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.1809, allocations: 3.938 kB / 443.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.396e-05/0.1809, allocations: 3.125 kB / 443.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1809, allocations: 4 kB / 443.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.1809, allocations: 0 / 443.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1809, allocations: 4 kB / 443.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.232e-05/0.181, allocations: 145.7 kB / 443.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1811, allocations: 0 / 443.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-07/0.1811, allocations: 3.938 kB / 443.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1811, allocations: 3.938 kB / 443.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.1811, allocations: 4 kB / 443.9 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1811, allocations: 0 / 443.9 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1811, allocations: 0 / 443.9 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.1812, allocations: 102.8 kB / 444 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-05/0.1813, allocations: 81.05 kB / 444.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.1813, allocations: 0 / 444.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.849e-06/0.1813, allocations: 0 / 444.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.007e-05/0.1813, allocations: 0 / 444.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.1813, allocations: 7.984 kB / 444.1 MB, free: 11.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.501e-05/0.1814, allocations: 83.31 kB / 444.2 MB, free: 11.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1814, allocations: 0 / 444.2 MB, free: 11.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002954/0.1817, allocations: 60 kB / 444.2 MB, free: 11.03 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 (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.0007515/0.1824, allocations: 369.9 kB / 444.6 MB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.1825, allocations: 55.41 kB / 444.6 MB, free: 10.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/0.1826, allocations: 4.062 kB / 444.6 MB, free: 10.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.163e-05/0.1826, allocations: 67.33 kB / 444.7 MB, free: 10.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.1827, allocations: 0 / 444.7 MB, free: 10.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002176/0.183, allocations: 78.7 kB / 444.8 MB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.1833, allocations: 0.6692 MB / 445.4 MB, free: 9.711 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.244e-06/0.1833, allocations: 0 / 445.4 MB, free: 9.711 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.973e-05/0.1833, allocations: 11.44 kB / 445.5 MB, free: 9.699 MB / 382.1 MB Notification: Performance of SimCode: time 1.163e-06/0.1833, allocations: 0 / 445.5 MB, free: 9.699 MB / 382.1 MB Notification: Performance of Templates: time 0.005156/0.1885, allocations: 2.002 MB / 447.5 MB, free: 7.695 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.pipe 2>&1) Environment - environmentSimulation: