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.001013/0.001013, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001283/0.001283, allocations: 177.3 kB / 15.94 MB, free: 228 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.902/1.902, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.4909/0.4909, allocations: 40 MB / 310.4 MB, free: 9.719 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.0005917/0.0005919, allocations: 12 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1605, allocations: 57.97 MB / 436.8 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.003466/0.164, allocations: 2.081 MB / 438.9 MB, free: 196 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.1658, allocations: 0.7612 MB / 439.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003501/0.1662, allocations: 11.94 kB / 439.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00032/0.1665, allocations: 39.69 kB / 439.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005473/0.1671, allocations: 95.73 kB / 439.8 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.1676, allocations: 87.83 kB / 439.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005753/0.1682, allocations: 263.5 kB / 440.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003076/0.1685, allocations: 115.1 kB / 440.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00034/0.1688, allocations: 127.5 kB / 440.3 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.1691, allocations: 143.3 kB / 440.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.312e-05/0.1692, allocations: 20 kB / 440.5 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.162e-05/0.1693, allocations: 20 kB / 440.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.888e-05/0.1693, allocations: 55.77 kB / 440.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.1695, allocations: 93.45 kB / 440.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.1698, allocations: 307.1 kB / 441 MB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1698, allocations: 0 / 441 MB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1698, allocations: 0 / 441 MB, free: 14.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.1699, allocations: 0 / 441 MB, free: 14.06 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.001206/0.1711, allocations: 0.6083 MB / 441.6 MB, free: 13.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.1711, allocations: 12.03 kB / 441.6 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.1713, allocations: 47.39 kB / 441.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.1717, allocations: 271.3 kB / 441.9 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.1717, allocations: 21 kB / 441.9 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.827e-05/0.1718, allocations: 32 kB / 441.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000727/0.1725, allocations: 366.6 kB / 442.3 MB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.1725, allocations: 4 kB / 442.3 MB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.1726, allocations: 15.95 kB / 442.3 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.1726, allocations: 8 kB / 442.3 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006772/0.1733, allocations: 292.9 kB / 442.6 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002242/0.1755, allocations: 1.352 MB / 444 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005034/0.176, allocations: 218.4 kB / 444.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.1761, allocations: 8.031 kB / 444.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.1761, allocations: 34.69 kB / 444.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.1761, allocations: 0 / 444.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008509/0.177, allocations: 281.2 kB / 444.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/0.1771, allocations: 136.5 kB / 444.6 MB, free: 10.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.1774, allocations: 328.4 kB / 445 MB, free: 9.773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.1775, allocations: 25.7 kB / 445 MB, free: 9.742 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.1776, allocations: 235.7 kB / 445.2 MB, free: 9.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.327e-05/0.1777, allocations: 55.19 kB / 445.3 MB, free: 9.453 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.427e-05/0.1777, allocations: 15.97 kB / 445.3 MB, free: 9.438 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1779, allocations: 342.8 kB / 445.6 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.1781, allocations: 84.5 kB / 445.7 MB, free: 9.012 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.1784, allocations: 176.2 kB / 445.9 MB, free: 8.801 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.1787, allocations: 115.9 kB / 446 MB, free: 8.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1787, allocations: 0 / 446 MB, free: 8.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006689/0.1794, allocations: 329 kB / 446.3 MB, free: 8.359 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.1795, allocations: 4 kB / 446.3 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.1795, allocations: 4 kB / 446.3 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.1795, allocations: 4 kB / 446.3 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/0.1799, allocations: 108.1 kB / 446.4 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.339e-05/0.1799, allocations: 7.938 kB / 446.4 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.1802, allocations: 51.58 kB / 446.5 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.1803, allocations: 16 kB / 446.5 MB, free: 8.168 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.0001866/0.1805, allocations: 153.7 kB / 446.6 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.1806, allocations: 27.72 kB / 446.7 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.685e-05/0.1807, allocations: 30.41 kB / 446.7 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1807, allocations: 4 kB / 446.7 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1807, allocations: 0 / 446.7 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.1807, allocations: 0 / 446.7 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009076/0.1816, allocations: 0.592 MB / 447.3 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1817, allocations: 4 kB / 447.3 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002909/0.1819, allocations: 76.03 kB / 447.4 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.182, allocations: 0 / 447.4 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.182, allocations: 12 kB / 447.4 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.182, allocations: 7.938 kB / 447.4 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.182, allocations: 3.953 kB / 447.4 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007618/0.1828, allocations: 496.6 kB / 447.9 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.1829, allocations: 112.8 kB / 448 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.183, allocations: 0 / 448 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.1832, allocations: 23.98 kB / 448 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.336e-05/0.1833, allocations: 19.92 kB / 448 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.1833, allocations: 12 kB / 448 MB, free: 6.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00026/0.1836, allocations: 223.1 kB / 448.3 MB, free: 6.227 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1836, allocations: 0 / 448.3 MB, free: 6.227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004272/0.184, allocations: 71.75 kB / 448.3 MB, free: 6.156 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.0001437/0.1842, allocations: 103.2 kB / 448.4 MB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006097/0.1848, allocations: 208.4 kB / 448.6 MB, free: 5.844 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.1848, allocations: 64 / 448.6 MB, free: 5.844 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.1851, allocations: 95.88 kB / 448.7 MB, free: 5.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.1854, allocations: 21.38 kB / 448.8 MB, free: 5.727 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.1868, allocations: 0.6628 MB / 449.4 MB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000633/0.1875, allocations: 0.7791 MB / 450.2 MB, free: 4.215 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.1876, allocations: 29.92 kB / 450.2 MB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.897e-05/0.1877, allocations: 19.44 kB / 450.2 MB, free: 4.168 MB / 382.1 MB Notification: Performance of SimCode: time 9.51e-07/0.1877, allocations: 0 / 450.2 MB, free: 4.168 MB / 382.1 MB Notification: Performance of Templates: time 0.005812/0.1935, allocations: 1.557 MB / 451.8 MB, free: 2.613 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: