Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",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.001527/0.001527, 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.001807/0.001807, allocations: 192.2 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7283/0.7283, allocations: 132.2 MB / 422.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001247, allocations: 62.61 kB / 0.5012 GB, free: 9.094 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1339, allocations: 80.2 MB / 0.5795 GB, free: 9.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4131/0.547, allocations: 179.5 MB / 0.7548 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005544/0.5526, allocations: 4.477 MB / 0.7592 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005773/0.5532, allocations: 15.88 kB / 0.7592 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006533/0.5538, allocations: 190.8 kB / 0.7594 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.5555, allocations: 0.7117 MB / 0.7601 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003119/0.5587, allocations: 1.406 MB / 0.7615 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00146/0.5601, allocations: 1.685 MB / 0.7631 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004635/0.5606, allocations: 392.2 kB / 0.7635 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007738/0.5614, allocations: 0.5174 MB / 0.764 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004268/0.5618, allocations: 422.3 kB / 0.7644 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.689e-05/0.5619, allocations: 31.94 kB / 0.7644 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002628/0.5646, allocations: 1.812 MB / 0.7662 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.5647, allocations: 171.4 kB / 0.7664 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002788/0.565, allocations: 294.5 kB / 0.7666 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.5668, allocations: 1.379 MB / 0.768 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.5668, allocations: 0 / 0.768 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.51e-07/0.5668, allocations: 0 / 0.768 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.5668, allocations: 4 kB / 0.768 GB, free: 2.207 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001693/0.5685, allocations: 1.021 MB / 0.769 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.5686, allocations: 12.03 kB / 0.769 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.101e-05/0.5686, allocations: 82.45 kB / 0.7691 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/0.5707, allocations: 283 kB / 0.7693 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006708/0.5714, allocations: 441.5 kB / 0.7698 GB, free: 292 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.5714, allocations: 36.98 kB / 0.7698 GB, free: 252 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.01e-05/0.5715, allocations: 43.91 kB / 0.7698 GB, free: 208 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.5725, allocations: 0.5468 MB / 0.7704 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.5726, allocations: 2.75 kB / 0.7704 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.489e-05/0.5726, allocations: 23.94 kB / 0.7704 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.5726, allocations: 8 kB / 0.7704 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.5736, allocations: 459.5 kB / 0.7708 GB, free: 15.14 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002413/0.5761, allocations: 2.119 MB / 0.7729 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009428/0.577, allocations: 414.4 kB / 0.7733 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004718/0.5775, allocations: 224.7 kB / 0.7735 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006577/0.5782, allocations: 400.3 kB / 0.7739 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006003/0.5788, allocations: 287.1 kB / 0.7742 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.484e-06/0.5788, allocations: 0 / 0.7742 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001721/0.5805, allocations: 0.6878 MB / 0.7749 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.5806, allocations: 59.16 kB / 0.7749 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005319/0.5811, allocations: 494.1 kB / 0.7754 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.5812, allocations: 37.64 kB / 0.7754 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.5814, allocations: 268 kB / 0.7757 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.483e-05/0.5815, allocations: 122.3 kB / 0.7758 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.5816, allocations: 94.03 kB / 0.7759 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.5818, allocations: 358.8 kB / 0.7762 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004707/0.5823, allocations: 200.8 kB / 0.7764 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005312/0.5828, allocations: 320 kB / 0.7767 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009598/0.5838, allocations: 0.537 MB / 0.7772 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5838, allocations: 0 / 0.7772 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001219/0.585, allocations: 0.6534 MB / 0.7779 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.569e-05/0.5851, allocations: 74.16 kB / 0.778 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.5851, allocations: 4 kB / 0.778 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.5851, allocations: 4 kB / 0.778 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004459/0.5855, allocations: 95.88 kB / 0.7781 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.5856, allocations: 7.938 kB / 0.7781 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000552/0.5861, allocations: 79.47 kB / 0.7781 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-05/0.5862, allocations: 28 kB / 0.7782 GB, free: 7.258 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0002111/0.5864, allocations: 191.2 kB / 0.7783 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.152e-05/0.5865, allocations: 55.34 kB / 0.7784 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.5876, allocations: 0.5457 MB / 0.7789 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.5876, allocations: 4 kB / 0.7789 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.5877, allocations: 0 / 0.7789 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.5877, allocations: 3.984 kB / 0.7789 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/0.5898, allocations: 1.351 MB / 0.7803 GB, free: 5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.5898, allocations: 4 kB / 0.7803 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/0.5902, allocations: 75.88 kB / 0.7803 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.5902, allocations: 8.438 kB / 0.7803 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.5903, allocations: 12 kB / 0.7804 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.5903, allocations: 7.938 kB / 0.7804 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5903, allocations: 4 kB / 0.7804 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.5919, allocations: 0.941 MB / 0.7813 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.592, allocations: 168.3 kB / 0.7814 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.078e-05/0.5921, allocations: 16.05 kB / 0.7815 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/0.5926, allocations: 43.95 kB / 0.7815 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.5927, allocations: 51.81 kB / 0.7816 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.5928, allocations: 19.94 kB / 0.7816 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004052/0.5932, allocations: 346.8 kB / 0.7819 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5932, allocations: 0 / 0.7819 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005621/0.5938, allocations: 151.8 kB / 0.782 GB, free: 3.09 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002168/0.5959, allocations: 1.579 MB / 0.7836 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00112/0.5971, allocations: 0.573 MB / 0.7841 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.5971, allocations: 8 kB / 0.7842 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006661/0.5978, allocations: 284.7 kB / 0.7844 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.5991, allocations: 285 kB / 0.7847 GB, free: 312 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007205/0.6063, allocations: 5.243 MB / 0.7898 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.6068, allocations: 0.8664 MB / 0.7907 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005401/0.6073, allocations: 134.5 kB / 0.7908 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/0.6076, allocations: 175.4 kB / 0.791 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of SimCode: time 6.91e-07/0.6076, allocations: 0 / 0.791 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.6334, allocations: 14.99 MB / 0.8056 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.6336, allocations: 237.9 kB / 0.8058 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.045/2.678, allocations: 7.875 kB / 0.8058 GB, free: 10.66 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)