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.005608/0.005608, allocations: 99.33 kB / 15.73 MB, free: 6.445 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.00119/0.00119, allocations: 194 kB / 16.67 MB, free: 6.348 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7268/0.7268, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.98 kB / 0.5809 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1635, allocations: 80.2 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6334/0.7969, allocations: 181.8 MB / 0.8367 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.005566/0.8025, allocations: 4.447 MB / 0.8411 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007281/0.8033, allocations: 22.47 kB / 0.8411 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006908/0.804, allocations: 246.8 kB / 0.8413 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001868/0.8059, allocations: 0.791 MB / 0.8421 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003735/0.8097, allocations: 1.557 MB / 0.8436 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001937/0.8116, allocations: 1.26 MB / 0.8448 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006811/0.8123, allocations: 451.1 kB / 0.8453 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.8134, allocations: 0.5845 MB / 0.8458 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004581/0.8138, allocations: 411.9 kB / 0.8462 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 7.307e-05/0.8139, allocations: 45.69 kB / 0.8463 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00275/0.8167, allocations: 1.557 MB / 0.8478 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.8169, allocations: 182.8 kB / 0.848 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003181/0.8172, allocations: 304.7 kB / 0.8483 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001994/0.8192, allocations: 1.323 MB / 0.8496 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.8192, allocations: 0 / 0.8496 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8192, allocations: 3.969 kB / 0.8496 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.8192, allocations: 0 / 0.8496 GB, free: 2.496 MB / 0.6387 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.001507/0.8208, allocations: 1.033 MB / 0.8506 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.8208, allocations: 11.72 kB / 0.8506 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.157e-05/0.8209, allocations: 80.75 kB / 0.8507 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002012/0.8229, allocations: 288.6 kB / 0.8509 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007132/0.8236, allocations: 474.2 kB / 0.8514 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.8237, allocations: 37.83 kB / 0.8514 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.016e-05/0.8238, allocations: 46.58 kB / 0.8515 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008926/0.8247, allocations: 0.5503 MB / 0.852 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.8247, allocations: 0 / 0.852 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.8247, allocations: 18.95 kB / 0.852 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.8247, allocations: 11.19 kB / 0.852 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000923/0.8257, allocations: 457.9 kB / 0.8525 GB, free: 1.348 MB / 0.6387 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.002289/0.828, allocations: 2.125 MB / 0.8545 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008523/0.8288, allocations: 406.1 kB / 0.8549 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000418/0.8293, allocations: 229.4 kB / 0.8551 GB, free: 16.06 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006284/0.8299, allocations: 396.4 kB / 0.8555 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005472/0.8305, allocations: 292.2 kB / 0.8558 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=37): time 1.953e-06/0.8305, allocations: 0 / 0.8558 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37): time 0.001673/0.8322, allocations: 0.6951 MB / 0.8565 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.8322, allocations: 63.31 kB / 0.8565 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004651/0.8327, allocations: 497 kB / 0.857 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.8327, allocations: 32.02 kB / 0.857 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.8329, allocations: 265.6 kB / 0.8573 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.999e-05/0.833, allocations: 130 kB / 0.8574 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.8331, allocations: 90.55 kB / 0.8575 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.8332, allocations: 366.7 kB / 0.8579 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004282/0.8337, allocations: 193.8 kB / 0.858 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004876/0.8342, allocations: 323.6 kB / 0.8584 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008967/0.8351, allocations: 0.5464 MB / 0.8589 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.8351, allocations: 0.9062 kB / 0.8589 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001135/0.8362, allocations: 0.6476 MB / 0.8595 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.147e-05/0.8363, allocations: 67.14 kB / 0.8596 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.8363, allocations: 4.469 kB / 0.8596 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.8363, allocations: 9.719 kB / 0.8596 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.8368, allocations: 100.1 kB / 0.8597 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.8368, allocations: 5.453 kB / 0.8597 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005327/0.8373, allocations: 81.27 kB / 0.8598 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.824e-05/0.8374, allocations: 22.86 kB / 0.8598 GB, free: 14.29 MB / 0.6544 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.0002181/0.8376, allocations: 191.4 kB / 0.86 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.387e-05/0.8377, allocations: 57.84 kB / 0.86 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.8388, allocations: 0.5408 MB / 0.8606 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.8388, allocations: 2.125 kB / 0.8606 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.8388, allocations: 0.8125 kB / 0.8606 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.8388, allocations: 2.672 kB / 0.8606 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/0.8409, allocations: 1.351 MB / 0.8619 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.8409, allocations: 6.281 kB / 0.8619 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003757/0.8413, allocations: 75.41 kB / 0.862 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.8413, allocations: 5.406 kB / 0.862 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.8413, allocations: 9.906 kB / 0.862 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.8413, allocations: 15.09 kB / 0.862 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.8413, allocations: 6.031 kB / 0.862 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.8428, allocations: 0.9293 MB / 0.8629 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.8431, allocations: 173.8 kB / 0.8631 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.1e-05/0.8432, allocations: 14.98 kB / 0.8631 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004313/0.8436, allocations: 35.69 kB / 0.8631 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.8437, allocations: 49.88 kB / 0.8632 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.8437, allocations: 22.52 kB / 0.8632 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003669/0.8441, allocations: 346.1 kB / 0.8635 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8441, allocations: 0 / 0.8635 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005569/0.8447, allocations: 151.5 kB / 0.8637 GB, free: 13.14 MB / 0.6544 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.002068/0.8468, allocations: 1.59 MB / 0.8652 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.8479, allocations: 0.5781 MB / 0.8658 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.8479, allocations: 0 / 0.8658 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005887/0.8485, allocations: 296 kB / 0.8661 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.8498, allocations: 295.4 kB / 0.8663 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006584/0.8564, allocations: 4.997 MB / 0.8712 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.8568, allocations: 0.8686 MB / 0.8721 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004866/0.8573, allocations: 128.3 kB / 0.8722 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/0.8576, allocations: 174.6 kB / 0.8724 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of SimCode: time 6.82e-07/0.8576, allocations: 1.094 kB / 0.8724 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03895/0.8965, allocations: 15.85 MB / 0.8878 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.756/9.653, allocations: 9.312 kB / 0.8879 GB, free: 4.602 MB / 0.6544 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)