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.001413/0.001413, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002161/0.00216, allocations: 192.2 kB / 16.14 MB, free: 6.703 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.728/1.728, allocations: 205.1 MB / 222 MB, free: 4.734 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.3598/0.3598, allocations: 39.93 MB / 309.3 MB, free: 9.438 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.001388/0.001388, allocations: 59.92 kB / 376.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1484, allocations: 56.89 MB / 433.8 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.0037/0.1522, allocations: 1.932 MB / 435.7 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.1534, allocations: 0.593 MB / 436.3 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.1535, allocations: 4 kB / 436.3 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.1538, allocations: 23.84 kB / 436.4 MB, free: 1.562 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.1539, allocations: 27.77 kB / 436.4 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.1541, allocations: 35.97 kB / 436.4 MB, free: 1.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.1543, allocations: 143.5 kB / 436.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.1545, allocations: 61.56 kB / 436.6 MB, free: 1.297 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.1547, allocations: 67.7 kB / 436.7 MB, free: 1.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.801e-05/0.1548, allocations: 59.7 kB / 436.7 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.1548, allocations: 12 kB / 436.8 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.75e-05/0.1549, allocations: 8 kB / 436.8 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.424e-05/0.1549, allocations: 23.92 kB / 436.8 MB, free: 1.129 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.121e-05/0.155, allocations: 71.66 kB / 436.9 MB, free: 1.059 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.1552, allocations: 151.7 kB / 437 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1552, allocations: 0 / 437 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1552, allocations: 0 / 437 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1552, allocations: 0 / 437 MB, free: 0.9102 MB / 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.0006446/0.1558, allocations: 439.3 kB / 437.4 MB, free: 444 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.1559, allocations: 12.03 kB / 437.4 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.156, allocations: 20.75 kB / 437.5 MB, free: 412 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.1562, allocations: 200.1 kB / 437.7 MB, free: 172 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.1562, allocations: 8.656 kB / 437.7 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.1562, allocations: 12.38 kB / 437.7 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.1566, allocations: 144.1 kB / 437.8 MB, free: 4 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1566, allocations: 0 / 437.8 MB, free: 4 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.254e-05/0.1566, allocations: 8.078 kB / 437.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1566, allocations: 7.938 kB / 437.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002763/0.1569, allocations: 112.1 kB / 437.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009378/0.1579, allocations: 0.6063 MB / 438.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.1581, allocations: 70.52 kB / 438.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.859e-05/0.1582, allocations: 29 kB / 438.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.1582, allocations: 0 / 438.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.1583, allocations: 34.56 kB / 438.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.1583, allocations: 3.938 kB / 438.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003661/0.1587, allocations: 109.5 kB / 438.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.1587, allocations: 51.41 kB / 438.8 MB, free: 14.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.1588, allocations: 149.8 kB / 439 MB, free: 14.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.1588, allocations: 29.7 kB / 439 MB, free: 14.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.292e-05/0.1589, allocations: 139.4 kB / 439.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.1589, allocations: 15.75 kB / 439.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.159, allocations: 29.62 kB / 439.2 MB, free: 14.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.503e-05/0.1591, allocations: 326.8 kB / 439.5 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.1592, allocations: 31.97 kB / 439.6 MB, free: 14.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.1593, allocations: 56.27 kB / 439.6 MB, free: 14.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.1595, allocations: 92.2 kB / 439.7 MB, free: 13.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1596, allocations: 0 / 439.7 MB, free: 13.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002785/0.1598, allocations: 133.5 kB / 439.8 MB, free: 13.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1599, allocations: 4 kB / 439.8 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1599, allocations: 0 / 439.8 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1599, allocations: 4 kB / 439.8 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.16, allocations: 27.92 kB / 439.9 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.16, allocations: 3.984 kB / 439.9 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.826e-05/0.1601, allocations: 16.09 kB / 439.9 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.1602, allocations: 4 kB / 439.9 MB, free: 13.76 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 9.062e-05/0.1603, allocations: 125.9 kB / 440 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.1603, allocations: 19.83 kB / 440 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.911e-05/0.1603, allocations: 12.31 kB / 440 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1603, allocations: 3.938 kB / 440 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1603, allocations: 0 / 440 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.1604, allocations: 0 / 440 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.1606, allocations: 213.6 kB / 440.3 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1606, allocations: 0 / 440.3 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.285e-05/0.1607, allocations: 15.98 kB / 440.3 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1607, allocations: 4 kB / 440.3 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1607, allocations: 4 kB / 440.3 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1607, allocations: 3.938 kB / 440.3 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1607, allocations: 0 / 440.3 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.161, allocations: 183.4 kB / 440.5 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.161, allocations: 81.02 kB / 440.5 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.161, allocations: 4 kB / 440.5 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.821e-05/0.1612, allocations: 19.92 kB / 440.6 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.1612, allocations: 7.969 kB / 440.6 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.1612, allocations: 0 / 440.6 MB, free: 12.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.983e-05/0.1613, allocations: 108 kB / 440.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1613, allocations: 0 / 440.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000245/0.1615, allocations: 35.78 kB / 440.7 MB, free: 12.84 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 7.785e-05/0.1616, allocations: 95.19 kB / 440.8 MB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.1619, allocations: 75.88 kB / 440.9 MB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.1619, allocations: 0 / 440.9 MB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.219e-05/0.162, allocations: 27.98 kB / 440.9 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.1623, allocations: 8 kB / 440.9 MB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004734/0.1628, allocations: 319.8 kB / 441.2 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.163, allocations: 0.708 MB / 441.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.292e-05/0.1631, allocations: 4.656 kB / 441.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.1631, allocations: 11.44 kB / 441.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1631, allocations: 0 / 441.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of Templates: time 0.003157/0.1663, allocations: 0.6338 MB / 442.6 MB, free: 10.91 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)