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.001103/0.001103, allocations: 91.84 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.009227/0.009227, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.812/1.812, allocations: 205.4 MB / 222.5 MB, free: 5.801 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.418/0.418, allocations: 40 MB / 310.7 MB, free: 9.762 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.0006109/0.000611, allocations: 16 kB / 379.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1493, allocations: 57.96 MB / 437.4 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.002806/0.1521, allocations: 1.59 MB / 439 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1534, allocations: 0.5814 MB / 439.6 MB, free: 56 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.1536, allocations: 4 kB / 439.6 MB, free: 52 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002399/0.1539, allocations: 23.84 kB / 439.6 MB, free: 28 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.1541, allocations: 27.77 kB / 439.6 MB, free: 0 / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.1543, allocations: 31.97 kB / 439.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.1546, allocations: 143.5 kB / 439.8 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.1548, allocations: 53.78 kB / 439.9 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.155, allocations: 63.7 kB / 439.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1552, allocations: 55.7 kB / 440 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.1552, allocations: 8 kB / 440 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.409e-05/0.1552, allocations: 4 kB / 440 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.1553, allocations: 23.92 kB / 440 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.1554, allocations: 85.38 kB / 440.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.1556, allocations: 147.6 kB / 440.2 MB, free: 15.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1556, allocations: 0 / 440.2 MB, free: 15.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1556, allocations: 0 / 440.2 MB, free: 15.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1556, allocations: 8 kB / 440.2 MB, free: 15.37 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0007838/0.1564, allocations: 423.3 kB / 440.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.1565, allocations: 8.031 kB / 440.7 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.082e-05/0.1566, allocations: 16.75 kB / 440.7 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.1569, allocations: 204.1 kB / 440.9 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.1569, allocations: 12.66 kB / 440.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.1569, allocations: 20.38 kB / 440.9 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.1573, allocations: 144.1 kB / 441.1 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1573, allocations: 0 / 441.1 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.1574, allocations: 4 kB / 441.1 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.1574, allocations: 8 kB / 441.1 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003274/0.1577, allocations: 124.1 kB / 441.2 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.1589, allocations: 0.6104 MB / 441.8 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.1591, allocations: 82.52 kB / 441.9 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.1593, allocations: 29.02 kB / 441.9 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.1593, allocations: 3.984 kB / 441.9 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.1593, allocations: 34.56 kB / 441.9 MB, free: 13.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.1594, allocations: 0 / 441.9 MB, free: 13.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004509/0.1598, allocations: 125.5 kB / 442.1 MB, free: 13.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.1599, allocations: 51.41 kB / 442.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.16, allocations: 157.5 kB / 442.3 MB, free: 13.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.16, allocations: 29.7 kB / 442.3 MB, free: 13.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.383e-05/0.1601, allocations: 139.4 kB / 442.4 MB, free: 12.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.1602, allocations: 23.73 kB / 442.5 MB, free: 12.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.1602, allocations: 17.72 kB / 442.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1604, allocations: 318.8 kB / 442.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.1605, allocations: 27.98 kB / 442.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.1606, allocations: 72.27 kB / 442.9 MB, free: 12.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.1609, allocations: 104.2 kB / 443 MB, free: 12.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1609, allocations: 0 / 443 MB, free: 12.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003247/0.1612, allocations: 149.4 kB / 443.1 MB, free: 12.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.1612, allocations: 4 kB / 443.1 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1612, allocations: 0 / 443.1 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1613, allocations: 4 kB / 443.1 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.1614, allocations: 27.92 kB / 443.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1614, allocations: 4 kB / 443.2 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.1615, allocations: 23.95 kB / 443.2 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.1615, allocations: 8 kB / 443.2 MB, free: 12.14 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.0001173/0.1617, allocations: 121.8 kB / 443.3 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.1617, allocations: 7.906 kB / 443.3 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.1618, allocations: 12.31 kB / 443.3 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1618, allocations: 3.938 kB / 443.3 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1618, allocations: 0 / 443.3 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.1618, allocations: 15.92 kB / 443.4 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.162, allocations: 197.6 kB / 443.6 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.162, allocations: 0 / 443.6 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.455e-05/0.1621, allocations: 19.98 kB / 443.6 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1621, allocations: 4 kB / 443.6 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.1621, allocations: 256 / 443.6 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.1622, allocations: 7.938 kB / 443.6 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1622, allocations: 3.938 kB / 443.6 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/0.1625, allocations: 199.3 kB / 443.8 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.074e-05/0.1625, allocations: 85.02 kB / 443.9 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.1626, allocations: 4 kB / 443.9 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.943e-05/0.1627, allocations: 19.91 kB / 443.9 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.1627, allocations: 4 kB / 443.9 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.1627, allocations: 0 / 443.9 MB, free: 11.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.26e-05/0.1628, allocations: 116 kB / 444 MB, free: 11.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1628, allocations: 0 / 444 MB, free: 11.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.1631, allocations: 27.84 kB / 444 MB, free: 11.21 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.0001099/0.1632, allocations: 95.19 kB / 444.1 MB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002824/0.1635, allocations: 79.89 kB / 444.2 MB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1635, allocations: 0 / 444.2 MB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.1636, allocations: 39.92 kB / 444.2 MB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.164, allocations: 12.23 kB / 444.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006284/0.1646, allocations: 333.7 kB / 444.6 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.1649, allocations: 0.708 MB / 445.3 MB, free: 9.891 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.673e-05/0.165, allocations: 4.672 kB / 445.3 MB, free: 9.887 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.165, allocations: 15.44 kB / 445.3 MB, free: 9.871 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.165, allocations: 0 / 445.3 MB, free: 9.871 MB / 382.1 MB Notification: Performance of Templates: time 0.003251/0.1683, allocations: 0.6224 MB / 445.9 MB, free: 9.25 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: