Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.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.Sensors,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors") translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.735/1.735, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.3904/0.3904, allocations: 39.94 MB / 309.7 MB, free: 9.293 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.001312/0.001312, allocations: 66.41 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1491, allocations: 56.89 MB / 434.5 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.003294/0.1525, allocations: 1.891 MB / 436.4 MB, free: 1.789 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.1535, allocations: 0.6007 MB / 437 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.586e-05/0.1536, allocations: 0 / 437 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.1538, allocations: 27.73 kB / 437 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.1539, allocations: 35.7 kB / 437 MB, free: 1.117 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.1541, allocations: 47.94 kB / 437.1 MB, free: 1.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.1543, allocations: 143.5 kB / 437.2 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.1544, allocations: 69.42 kB / 437.3 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.1545, allocations: 59.8 kB / 437.4 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.51e-05/0.1546, allocations: 71.67 kB / 437.4 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.1547, allocations: 12 kB / 437.4 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.74e-05/0.1547, allocations: 16 kB / 437.5 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.726e-05/0.1547, allocations: 27.92 kB / 437.5 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.1549, allocations: 63.67 kB / 437.5 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.1551, allocations: 159.7 kB / 437.7 MB, free: 464 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1551, allocations: 0 / 437.7 MB, free: 464 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.1551, allocations: 0 / 437.7 MB, free: 464 kB / 366.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1551, allocations: 3.938 kB / 437.7 MB, free: 460 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0007089/0.1558, allocations: 454.8 kB / 438.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.1559, allocations: 15.89 kB / 438.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/0.1559, allocations: 12.75 kB / 438.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.1562, allocations: 200.1 kB / 438.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.1562, allocations: 12.59 kB / 438.4 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.1562, allocations: 16.38 kB / 438.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.1565, allocations: 144.1 kB / 438.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1566, allocations: 0 / 438.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.1566, allocations: 8 kB / 438.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1566, allocations: 0 / 438.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.1569, allocations: 108.1 kB / 438.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.1579, allocations: 0.6064 MB / 439.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.1582, allocations: 66.58 kB / 439.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.1583, allocations: 36.94 kB / 439.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.1583, allocations: 0 / 439.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.1584, allocations: 38.5 kB / 439.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.905e-06/0.1584, allocations: 4 kB / 439.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004327/0.1588, allocations: 109.5 kB / 439.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.1589, allocations: 51.41 kB / 439.6 MB, free: 14.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.1591, allocations: 153.8 kB / 439.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1591, allocations: 25.7 kB / 439.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.1592, allocations: 135.4 kB / 439.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.1593, allocations: 23.73 kB / 439.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/0.1593, allocations: 29.62 kB / 439.9 MB, free: 14.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1595, allocations: 318.8 kB / 440.2 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.1596, allocations: 27.97 kB / 440.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.1598, allocations: 68.2 kB / 440.3 MB, free: 13.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.16, allocations: 96.2 kB / 440.4 MB, free: 13.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1601, allocations: 0 / 440.4 MB, free: 13.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000312/0.1604, allocations: 121.5 kB / 440.5 MB, free: 13.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1604, allocations: 4 kB / 440.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1604, allocations: 0 / 440.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.1604, allocations: 4 kB / 440.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.1606, allocations: 35.98 kB / 440.6 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.1606, allocations: 0 / 440.6 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.901e-05/0.1607, allocations: 23.83 kB / 440.6 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1607, allocations: 4 kB / 440.6 MB, free: 13.28 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 11 * 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.000121/0.1609, allocations: 117.8 kB / 440.7 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.1609, allocations: 7.906 kB / 440.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.785e-05/0.161, allocations: 20.23 kB / 440.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.161, allocations: 3.938 kB / 440.8 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.161, allocations: 4.25 kB / 440.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.161, allocations: 0 / 440.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.1613, allocations: 209.6 kB / 441 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1613, allocations: 3.984 kB / 441 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.529e-05/0.1614, allocations: 12 kB / 441 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1614, allocations: 11.92 kB / 441 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1614, allocations: 0 / 441 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1614, allocations: 3.938 kB / 441 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1614, allocations: 0 / 441 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.1617, allocations: 183.4 kB / 441.2 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/0.1618, allocations: 85.02 kB / 441.3 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.1618, allocations: 4 kB / 441.3 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1619, allocations: 11.92 kB / 441.3 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.162, allocations: 3.938 kB / 441.3 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.162, allocations: 3.938 kB / 441.3 MB, free: 12.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.159e-05/0.1621, allocations: 116 kB / 441.4 MB, free: 12.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1621, allocations: 4 kB / 441.4 MB, free: 12.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.1624, allocations: 27.84 kB / 441.4 MB, free: 12.36 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 0.0001217/0.1625, allocations: 99.19 kB / 441.5 MB, free: 12.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003028/0.1628, allocations: 67.89 kB / 441.6 MB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1628, allocations: 0 / 441.6 MB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.1629, allocations: 36.22 kB / 441.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.1634, allocations: 4 kB / 441.6 MB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005941/0.164, allocations: 263.6 kB / 441.9 MB, free: 11.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.1643, allocations: 0.708 MB / 442.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.204e-05/0.1644, allocations: 12.66 kB / 442.6 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.644e-05/0.1644, allocations: 7.438 kB / 442.6 MB, free: 11.12 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1644, allocations: 4 kB / 442.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of Templates: time 0.003725/0.1681, allocations: 0.7038 MB / 443.3 MB, free: 10.41 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.sim & ./ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.pipe 2>&1)