Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_dev_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.006155/0.006155, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.001314/0.001314, allocations: 196 kB / 16.68 MB, free: 5.977 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9265/0.9265, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001388, allocations: 67.89 kB / 0.5852 GB, free: 3.828 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.4089, allocations: 80.91 MB / 0.6642 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1855/0.5944, allocations: 181.8 MB / 0.8417 GB, free: 11.14 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.005671/0.6001, allocations: 4.459 MB / 0.846 GB, free: 6.672 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005334/0.6007, allocations: 19.88 kB / 0.8461 GB, free: 6.652 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006901/0.6014, allocations: 250.1 kB / 0.8463 GB, free: 6.406 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001728/0.6032, allocations: 0.7893 MB / 0.8471 GB, free: 5.613 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0034/0.6066, allocations: 1.548 MB / 0.8486 GB, free: 4.062 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001555/0.6081, allocations: 1.27 MB / 0.8498 GB, free: 2.789 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006382/0.6088, allocations: 448.8 kB / 0.8502 GB, free: 2.352 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000978/0.6098, allocations: 0.58 MB / 0.8508 GB, free: 1.77 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004492/0.6102, allocations: 418.2 kB / 0.8512 GB, free: 1.359 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 6.894e-05/0.6103, allocations: 48 kB / 0.8513 GB, free: 1.312 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002749/0.6131, allocations: 1.551 MB / 0.8528 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002163/0.6133, allocations: 183.5 kB / 0.8529 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003281/0.6137, allocations: 310.5 kB / 0.8532 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.6155, allocations: 1.321 MB / 0.8545 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.6155, allocations: 0 / 0.8545 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6155, allocations: 0 / 0.8545 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.6155, allocations: 0 / 0.8545 GB, free: 13.95 MB / 0.6856 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.00167/0.6172, allocations: 1.04 MB / 0.8556 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.6172, allocations: 8.031 kB / 0.8556 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.509e-05/0.6173, allocations: 86.52 kB / 0.8556 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/0.6192, allocations: 283.3 kB / 0.8559 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007358/0.62, allocations: 477.7 kB / 0.8564 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.62, allocations: 29 kB / 0.8564 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-05/0.6201, allocations: 48 kB / 0.8564 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009489/0.6211, allocations: 0.5507 MB / 0.857 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.6211, allocations: 0 / 0.857 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.225e-05/0.6211, allocations: 19.98 kB / 0.857 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.6211, allocations: 16 kB / 0.857 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.6222, allocations: 451.6 kB / 0.8574 GB, free: 10.83 MB / 0.6856 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.002362/0.6245, allocations: 2.124 MB / 0.8595 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009575/0.6255, allocations: 414.3 kB / 0.8599 GB, free: 8.16 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000477/0.626, allocations: 220.7 kB / 0.8601 GB, free: 7.941 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000646/0.6266, allocations: 404.3 kB / 0.8605 GB, free: 7.473 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005786/0.6272, allocations: 283.1 kB / 0.8608 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=37): time 2.104e-06/0.6272, allocations: 0 / 0.8608 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37): time 0.001774/0.629, allocations: 0.6903 MB / 0.8615 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.6291, allocations: 63.41 kB / 0.8615 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005878/0.6297, allocations: 490.1 kB / 0.862 GB, free: 5.922 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.302e-05/0.6297, allocations: 37.7 kB / 0.862 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.6299, allocations: 260.5 kB / 0.8623 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 9.982e-05/0.63, allocations: 134.9 kB / 0.8624 GB, free: 5.488 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.6302, allocations: 90.08 kB / 0.8625 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.6303, allocations: 366.7 kB / 0.8628 GB, free: 5.027 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004799/0.6308, allocations: 200.8 kB / 0.863 GB, free: 4.828 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005537/0.6314, allocations: 320.1 kB / 0.8633 GB, free: 4.48 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009829/0.6324, allocations: 0.5379 MB / 0.8639 GB, free: 3.891 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.6324, allocations: 0 / 0.8639 GB, free: 3.891 MB / 0.6856 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001295/0.6337, allocations: 0.6572 MB / 0.8645 GB, free: 3.215 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.985e-05/0.6338, allocations: 59.41 kB / 0.8645 GB, free: 3.145 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.6338, allocations: 4 kB / 0.8646 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.6338, allocations: 4 kB / 0.8646 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/0.6343, allocations: 95.88 kB / 0.8646 GB, free: 3.043 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.6343, allocations: 8.25 kB / 0.8647 GB, free: 3.035 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/0.6348, allocations: 91.52 kB / 0.8647 GB, free: 2.945 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.429e-05/0.6348, allocations: 23.98 kB / 0.8648 GB, free: 2.922 MB / 0.6856 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.0002286/0.6351, allocations: 185.7 kB / 0.8649 GB, free: 2.73 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.635e-05/0.6352, allocations: 63.56 kB / 0.865 GB, free: 2.668 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.6364, allocations: 0.5409 MB / 0.8655 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.6364, allocations: 4 kB / 0.8655 GB, free: 2.113 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6364, allocations: 0 / 0.8655 GB, free: 2.113 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.6364, allocations: 0 / 0.8655 GB, free: 2.113 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002182/0.6386, allocations: 1.358 MB / 0.8669 GB, free: 0.6562 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.6386, allocations: 4 kB / 0.8669 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003944/0.639, allocations: 72.33 kB / 0.8669 GB, free: 0.582 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.6391, allocations: 8 kB / 0.8669 GB, free: 0.5742 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.6391, allocations: 11.98 kB / 0.867 GB, free: 0.5625 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/0.6391, allocations: 8 kB / 0.867 GB, free: 0.5547 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.6391, allocations: 7.938 kB / 0.867 GB, free: 0.5469 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2965/0.9356, allocations: 0.9274 MB / 0.8679 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003553/0.936, allocations: 173.1 kB / 0.868 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.9361, allocations: 11.39 kB / 0.8681 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004601/0.9366, allocations: 39.66 kB / 0.8681 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.9368, allocations: 47.27 kB / 0.8681 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.9368, allocations: 18.16 kB / 0.8682 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004299/0.9373, allocations: 343.6 kB / 0.8685 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9373, allocations: 0 / 0.8685 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005774/0.9378, allocations: 153 kB / 0.8686 GB, free: 193.6 MB / 0.6856 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.002343/0.9402, allocations: 1.584 MB / 0.8702 GB, free: 192.7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00119/0.9414, allocations: 0.5931 MB / 0.8708 GB, free: 192.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.9414, allocations: 0 / 0.8708 GB, free: 192.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006734/0.9421, allocations: 288.9 kB / 0.871 GB, free: 192.4 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.9435, allocations: 286.9 kB / 0.8713 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007646/0.9512, allocations: 5.003 MB / 0.8762 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.9515, allocations: 0.8673 MB / 0.877 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005468/0.9521, allocations: 125.2 kB / 0.8772 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.9523, allocations: 183.5 kB / 0.8773 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of SimCode: time 6.01e-07/0.9524, allocations: 0 / 0.8773 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03885/0.9912, allocations: 15.85 MB / 0.8928 GB, free: 181.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.592/9.583, allocations: 6.125 kB / 0.8928 GB, free: 181.3 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)