Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.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.FluxTubes.Sources,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources") translateModel(ModelicaTest.FluxTubes.Sources,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008698/0.00087, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.000934/0.000934, allocations: 172.7 kB / 15.95 MB, free: 208 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.782/1.782, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.4385/0.4385, allocations: 40 MB / 310.4 MB, free: 10.02 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.0005904/0.0005906, allocations: 16 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1577, allocations: 57.96 MB / 436.8 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.003014/0.1607, allocations: 2.186 MB / 439 MB, free: 352 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.1624, allocations: 0.7455 MB / 439.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002701/0.1627, allocations: 4 kB / 439.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.1629, allocations: 55.55 kB / 439.8 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003812/0.1633, allocations: 79.44 kB / 439.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.1637, allocations: 87.91 kB / 439.9 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005061/0.1642, allocations: 374.5 kB / 440.3 MB, free: 15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002558/0.1644, allocations: 115.1 kB / 440.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003071/0.1648, allocations: 131.5 kB / 440.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.165, allocations: 139.3 kB / 440.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.09e-05/0.1651, allocations: 16 kB / 440.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.839e-05/0.1651, allocations: 20 kB / 440.7 MB, free: 14.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.389e-05/0.1652, allocations: 59.77 kB / 440.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.623e-05/0.1653, allocations: 89.52 kB / 440.9 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.1656, allocations: 303.1 kB / 441.2 MB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1656, allocations: 4 kB / 441.2 MB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1656, allocations: 0 / 441.2 MB, free: 14.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.1656, allocations: 0 / 441.2 MB, free: 14.13 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001163/0.1668, allocations: 0.6122 MB / 441.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1668, allocations: 8.031 kB / 441.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.167, allocations: 47.39 kB / 441.8 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.1673, allocations: 271.2 kB / 442.1 MB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.1673, allocations: 28.94 kB / 442.1 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-05/0.1674, allocations: 32 kB / 442.2 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008041/0.1682, allocations: 366.7 kB / 442.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1682, allocations: 0 / 442.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.1683, allocations: 23.94 kB / 442.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.1683, allocations: 8 kB / 442.6 MB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006444/0.1689, allocations: 284.9 kB / 442.8 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002129/0.1711, allocations: 1.359 MB / 444.2 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.1716, allocations: 206.6 kB / 444.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.1719, allocations: 103.5 kB / 444.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.1719, allocations: 4 kB / 444.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.172, allocations: 38.56 kB / 444.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.172, allocations: 0 / 444.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008592/0.1728, allocations: 277.2 kB / 444.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/0.1729, allocations: 136.5 kB / 444.9 MB, free: 10.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004219/0.1733, allocations: 328.4 kB / 445.3 MB, free: 9.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.1734, allocations: 25.7 kB / 445.3 MB, free: 9.699 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.1735, allocations: 235.7 kB / 445.5 MB, free: 9.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.593e-05/0.1736, allocations: 55.19 kB / 445.6 MB, free: 9.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/0.1736, allocations: 8 kB / 445.6 MB, free: 9.402 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.1738, allocations: 338.8 kB / 445.9 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.1742, allocations: 96.44 kB / 446 MB, free: 8.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003533/0.1745, allocations: 184.2 kB / 446.2 MB, free: 8.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.1749, allocations: 111.8 kB / 446.3 MB, free: 8.641 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1749, allocations: 0 / 446.3 MB, free: 8.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006604/0.1756, allocations: 325.1 kB / 446.6 MB, free: 8.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.1756, allocations: 8 kB / 446.6 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.1756, allocations: 0 / 446.6 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.1756, allocations: 8 kB / 446.6 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/0.1761, allocations: 107.9 kB / 446.7 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.1761, allocations: 11.88 kB / 446.7 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.1764, allocations: 51.56 kB / 446.8 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.1764, allocations: 16 kB / 446.8 MB, free: 8.117 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.1766, allocations: 153.7 kB / 447 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.1767, allocations: 27.72 kB / 447 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.688e-05/0.1768, allocations: 30.41 kB / 447 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1768, allocations: 4 kB / 447 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1768, allocations: 0 / 447 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1768, allocations: 4.281 kB / 447 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008206/0.1776, allocations: 0.5915 MB / 447.6 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1777, allocations: 0 / 447.6 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.1779, allocations: 67.94 kB / 447.7 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.1779, allocations: 0.6875 kB / 447.7 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.178, allocations: 15.98 kB / 447.7 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.178, allocations: 15.88 kB / 447.7 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.178, allocations: 0 / 447.7 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005547/0.1786, allocations: 418.5 kB / 448.1 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-05/0.1787, allocations: 108.8 kB / 448.2 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.1787, allocations: 4 kB / 448.2 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.1789, allocations: 19.98 kB / 448.2 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/0.179, allocations: 19.92 kB / 448.3 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.179, allocations: 12 kB / 448.3 MB, free: 6.508 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002197/0.1792, allocations: 223.1 kB / 448.5 MB, free: 6.289 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1792, allocations: 0 / 448.5 MB, free: 6.289 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003932/0.1796, allocations: 75.75 kB / 448.6 MB, free: 6.215 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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.0001239/0.1798, allocations: 99.17 kB / 448.7 MB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005528/0.1803, allocations: 211.4 kB / 448.9 MB, free: 5.906 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1803, allocations: 0.5 kB / 448.9 MB, free: 5.906 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.1806, allocations: 95.88 kB / 449 MB, free: 5.812 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.181, allocations: 21.44 kB / 449 MB, free: 5.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.1821, allocations: 0.6665 MB / 449.7 MB, free: 5.078 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.1825, allocations: 0.7791 MB / 450.4 MB, free: 4.273 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001259/0.1827, allocations: 21.95 kB / 450.5 MB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.415e-05/0.1827, allocations: 15.44 kB / 450.5 MB, free: 4.238 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1827, allocations: 4 kB / 450.5 MB, free: 4.234 MB / 382.1 MB Notification: Performance of Templates: time 0.005145/0.1879, allocations: 1.565 MB / 452 MB, free: 2.672 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.sim & ./ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.pipe 2>&1) Environment - environmentSimulation: