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.001241/0.001241, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001273/0.001274, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.714/1.714, allocations: 205.1 MB / 222 MB, free: 4.742 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.3846/0.3846, allocations: 39.94 MB / 309.3 MB, free: 9.32 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.001375/0.001375, allocations: 67.89 kB / 376.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1529, allocations: 56.87 MB / 433.8 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.004954/0.1579, allocations: 2.668 MB / 436.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.1596, allocations: 0.7801 MB / 437.2 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.1598, allocations: 4 kB / 437.2 MB, free: 0.668 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.1601, allocations: 51.62 kB / 437.3 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002566/0.1604, allocations: 83.44 kB / 437.4 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.1607, allocations: 99.91 kB / 437.5 MB, free: 448 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000349/0.1611, allocations: 390.5 kB / 437.9 MB, free: 56 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/0.1613, allocations: 128.1 kB / 438 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.1616, allocations: 147.4 kB / 438.1 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.1617, allocations: 167.2 kB / 438.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.03e-05/0.1618, allocations: 24 kB / 438.3 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.992e-05/0.1618, allocations: 24 kB / 438.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.627e-05/0.1619, allocations: 59.77 kB / 438.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.162, allocations: 175 kB / 438.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003848/0.1624, allocations: 402.5 kB / 439 MB, free: 14.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1624, allocations: 0 / 439 MB, free: 14.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1625, allocations: 0 / 439 MB, free: 14.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.1625, allocations: 0 / 439 MB, free: 14.95 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.0009929/0.1635, allocations: 0.6591 MB / 439.6 MB, free: 14.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.1635, allocations: 8.031 kB / 439.6 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.552e-05/0.1636, allocations: 40.47 kB / 439.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.1639, allocations: 276.6 kB / 439.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.1639, allocations: 29.38 kB / 440 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/0.164, allocations: 32.38 kB / 440 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/0.1647, allocations: 366.1 kB / 440.3 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1647, allocations: 0 / 440.3 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.1647, allocations: 16 kB / 440.4 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.1647, allocations: 12 kB / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006038/0.1654, allocations: 263.7 kB / 440.6 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.1672, allocations: 1.346 MB / 442 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004625/0.1677, allocations: 198.6 kB / 442.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.1679, allocations: 83.52 kB / 442.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.168, allocations: 0 / 442.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.168, allocations: 46.5 kB / 442.3 MB, free: 11.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/0.168, allocations: 0 / 442.3 MB, free: 11.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.000731/0.1687, allocations: 249 kB / 442.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/0.1688, allocations: 140.5 kB / 442.7 MB, free: 10.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.1692, allocations: 328.5 kB / 443 MB, free: 10.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.1692, allocations: 29.7 kB / 443 MB, free: 10.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.1694, allocations: 235.7 kB / 443.3 MB, free: 10.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.1694, allocations: 55.2 kB / 443.3 MB, free: 10.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.17e-05/0.1695, allocations: 57.92 kB / 443.4 MB, free: 10.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1696, allocations: 342.7 kB / 443.7 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.1699, allocations: 76.52 kB / 443.8 MB, free: 9.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.1702, allocations: 172.1 kB / 443.9 MB, free: 9.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/0.1706, allocations: 250.9 kB / 444.2 MB, free: 9.297 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.1706, allocations: 4 kB / 444.2 MB, free: 9.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000588/0.1712, allocations: 312.9 kB / 444.5 MB, free: 8.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1713, allocations: 4 kB / 444.5 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1713, allocations: 4 kB / 444.5 MB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1713, allocations: 4 kB / 444.5 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.1717, allocations: 87.86 kB / 444.6 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.1717, allocations: 4.188 kB / 444.6 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.172, allocations: 55.58 kB / 444.7 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.172, allocations: 8 kB / 444.7 MB, free: 8.816 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001448/0.1721, allocations: 153.7 kB / 444.8 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.469e-05/0.1722, allocations: 35.55 kB / 444.9 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.927e-05/0.1723, allocations: 30.41 kB / 444.9 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1723, allocations: 4 kB / 444.9 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1723, allocations: 0 / 444.9 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1723, allocations: 8 kB / 444.9 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007034/0.173, allocations: 0.5845 MB / 445.5 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1731, allocations: 0 / 445.5 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/0.1734, allocations: 60.09 kB / 445.5 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1734, allocations: 4 kB / 445.5 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.1734, allocations: 11.94 kB / 445.6 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1734, allocations: 4 kB / 445.6 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.1734, allocations: 7.922 kB / 445.6 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/0.1739, allocations: 394.6 kB / 445.9 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/0.174, allocations: 108.7 kB / 446.1 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.174, allocations: 11.92 kB / 446.1 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.1743, allocations: 19.98 kB / 446.1 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.1743, allocations: 15.92 kB / 446.1 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.1743, allocations: 4 kB / 446.1 MB, free: 7.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001988/0.1745, allocations: 227.1 kB / 446.3 MB, free: 7.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1746, allocations: 3.938 kB / 446.3 MB, free: 7.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003668/0.1749, allocations: 71.84 kB / 446.4 MB, free: 6.945 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.575e-05/0.175, allocations: 107.2 kB / 446.5 MB, free: 6.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000471/0.1755, allocations: 191.4 kB / 446.7 MB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1755, allocations: 4 kB / 446.7 MB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.1757, allocations: 80.64 kB / 446.8 MB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000524/0.1763, allocations: 29.36 kB / 446.8 MB, free: 6.535 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009082/0.1772, allocations: 0.6795 MB / 447.5 MB, free: 5.809 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.1775, allocations: 0.7714 MB / 448.3 MB, free: 5.012 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.1776, allocations: 25.94 kB / 448.3 MB, free: 4.988 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.796e-05/0.1777, allocations: 23.38 kB / 448.3 MB, free: 4.965 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1777, allocations: 0 / 448.3 MB, free: 4.965 MB / 382.1 MB Notification: Performance of Templates: time 0.004238/0.1819, allocations: 1.628 MB / 449.9 MB, free: 3.34 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.makefile (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)