Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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: "" <> buildModelFMU(ModelicaTest.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009587/0.0009588, allocations: 95.88 kB / 15.69 MB, free: 480 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.001098/0.001099, allocations: 178.6 kB / 16.57 MB, free: 6.004 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.846/1.846, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4566/0.4566, allocations: 43.54 MB / 314.5 MB, free: 9.02 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: Performance of FrontEnd - loaded program: time 0.0006353/0.0006356, allocations: 8 kB / 384 MB, free: 8.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.155, allocations: 58.86 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.002211/0.1573, allocations: 1.509 MB / 444.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000941/0.1582, allocations: 0.5623 MB / 444.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.318e-05/0.1583, allocations: 4 kB / 444.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.1585, allocations: 23.84 kB / 444.9 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.1586, allocations: 27.94 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.1587, allocations: 31.91 kB / 445 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.1589, allocations: 99.8 kB / 445.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.1591, allocations: 45.78 kB / 445.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.1592, allocations: 63.77 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.156e-05/0.1593, allocations: 51.77 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.1593, allocations: 8 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.911e-05/0.1593, allocations: 4 kB / 445.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.413e-05/0.1594, allocations: 23.92 kB / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.979e-05/0.1594, allocations: 45.64 kB / 445.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.1596, allocations: 119.9 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1596, allocations: 0 / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.407e-06/0.1596, allocations: 0 / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.1596, allocations: 3.938 kB / 445.5 MB, free: 10.57 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.0006055/0.1602, allocations: 431.2 kB / 445.9 MB, free: 10.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1603, allocations: 12.03 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.001e-05/0.1603, allocations: 50.5 kB / 445.9 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.1604, allocations: 11.81 kB / 446 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.1606, allocations: 198.8 kB / 446.1 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.1606, allocations: 8.281 kB / 446.2 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.1606, allocations: 23.92 kB / 446.2 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003954/0.161, allocations: 143.8 kB / 446.3 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.1611, allocations: 0 / 446.3 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.1611, allocations: 4 kB / 446.3 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.1611, allocations: 7.953 kB / 446.3 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/0.1614, allocations: 116.2 kB / 446.4 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.1624, allocations: 0.6106 MB / 447.1 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.1627, allocations: 78.53 kB / 447.1 MB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.1628, allocations: 4 kB / 447.1 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.1628, allocations: 38.62 kB / 447.2 MB, free: 8.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 3.517e-06/0.1628, allocations: 0 / 447.2 MB, free: 8.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004441/0.1633, allocations: 125.5 kB / 447.3 MB, free: 8.535 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.1633, allocations: 51.41 kB / 447.3 MB, free: 8.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.1635, allocations: 146.4 kB / 447.5 MB, free: 8.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.1635, allocations: 29.7 kB / 447.5 MB, free: 8.285 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.1636, allocations: 135.5 kB / 447.7 MB, free: 8.148 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.1637, allocations: 23.66 kB / 447.7 MB, free: 8.125 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.1637, allocations: 0 / 447.7 MB, free: 8.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1639, allocations: 326.8 kB / 448 MB, free: 7.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.164, allocations: 35.97 kB / 448 MB, free: 7.762 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.1641, allocations: 68.22 kB / 448.1 MB, free: 7.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.1643, allocations: 35.97 kB / 448.1 MB, free: 7.645 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1643, allocations: 4 kB / 448.1 MB, free: 7.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002941/0.1646, allocations: 137.4 kB / 448.3 MB, free: 7.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.1646, allocations: 8 kB / 448.3 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1646, allocations: 0 / 448.3 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.1647, allocations: 3.984 kB / 448.3 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.1648, allocations: 28.11 kB / 448.3 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.1648, allocations: 8 kB / 448.3 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.417e-05/0.1649, allocations: 15.92 kB / 448.3 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.1649, allocations: 8 kB / 448.3 MB, free: 7.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.1651, allocations: 121.8 kB / 448.5 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.1651, allocations: 11.86 kB / 448.5 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.1651, allocations: 12.31 kB / 448.5 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1651, allocations: 0 / 448.5 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1652, allocations: 4.25 kB / 448.5 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1652, allocations: 0 / 448.5 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.1654, allocations: 217.5 kB / 448.7 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1654, allocations: 0 / 448.7 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.1655, allocations: 19.98 kB / 448.7 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1656, allocations: 0 / 448.7 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1656, allocations: 11.89 kB / 448.7 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1656, allocations: 3.938 kB / 448.7 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.1656, allocations: 4 kB / 448.7 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.1659, allocations: 195.4 kB / 448.9 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.595e-05/0.166, allocations: 85 kB / 449 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.166, allocations: 0 / 449 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.1661, allocations: 19.95 kB / 449 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.1662, allocations: 3.984 kB / 449 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1662, allocations: 4 kB / 449 MB, free: 6.637 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.45e-05/0.1663, allocations: 104.6 kB / 449.1 MB, free: 6.535 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1663, allocations: 0 / 449.1 MB, free: 6.535 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.1665, allocations: 27.94 kB / 449.2 MB, free: 6.508 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 (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.0005776/0.1671, allocations: 0.7279 MB / 449.9 MB, free: 5.754 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.1674, allocations: 79.89 kB / 450 MB, free: 5.676 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1674, allocations: 0 / 450 MB, free: 5.676 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.968e-05/0.1675, allocations: 39.91 kB / 450 MB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.1677, allocations: 11.39 kB / 450 MB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.1692, allocations: 1.366 MB / 451.4 MB, free: 4.195 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.1696, allocations: 0.7119 MB / 452.1 MB, free: 3.457 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.766e-05/0.1696, allocations: 8.656 kB / 452.1 MB, free: 3.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.365e-05/0.1697, allocations: 39.42 kB / 452.1 MB, free: 3.41 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1697, allocations: 0 / 452.1 MB, free: 3.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01263/0.1823, allocations: 1.792 MB / 453.9 MB, free: 1.648 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/0.1826, allocations: 164.3 kB / 454.1 MB, free: 1.406 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/1.913, allocations: 4 kB / 454.1 MB, free: 1.402 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat does not exist to compare? outputFormat=mat