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.005315/0.005315, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001211/0.001211, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9121/0.9121, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 75.88 kB / 0.5852 GB, free: 3.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4058, allocations: 80.91 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1794/0.5852, allocations: 181.8 MB / 0.8417 GB, free: 11.14 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.006438/0.5917, allocations: 4.459 MB / 0.846 GB, free: 6.676 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006667/0.5924, allocations: 23.88 kB / 0.8461 GB, free: 6.652 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000737/0.5931, allocations: 242.1 kB / 0.8463 GB, free: 6.414 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001996/0.5952, allocations: 0.7893 MB / 0.8471 GB, free: 5.621 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003585/0.5988, allocations: 1.549 MB / 0.8486 GB, free: 4.07 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001493/0.6003, allocations: 1.27 MB / 0.8498 GB, free: 2.797 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000589/0.6009, allocations: 450.7 kB / 0.8503 GB, free: 2.355 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.6019, allocations: 0.576 MB / 0.8508 GB, free: 1.777 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004485/0.6024, allocations: 418.2 kB / 0.8512 GB, free: 1.367 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 6.75e-05/0.6024, allocations: 48 kB / 0.8513 GB, free: 1.32 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/0.605, allocations: 1.551 MB / 0.8528 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.6052, allocations: 187.5 kB / 0.853 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003349/0.6056, allocations: 306.5 kB / 0.8532 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001976/0.6076, allocations: 1.32 MB / 0.8545 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6076, allocations: 0 / 0.8545 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6076, allocations: 0 / 0.8545 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.6076, allocations: 0 / 0.8545 GB, free: 13.96 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.001786/0.6094, allocations: 1.036 MB / 0.8555 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.6095, allocations: 12.03 kB / 0.8556 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.567e-05/0.6096, allocations: 82.52 kB / 0.8556 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/0.6116, allocations: 283.3 kB / 0.8559 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008223/0.6125, allocations: 477.7 kB / 0.8564 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/0.6125, allocations: 37 kB / 0.8564 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.143e-05/0.6126, allocations: 44 kB / 0.8564 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009868/0.6136, allocations: 0.5545 MB / 0.857 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.6136, allocations: 4 kB / 0.857 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.561e-05/0.6137, allocations: 19.98 kB / 0.857 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.6137, allocations: 8 kB / 0.857 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009994/0.6147, allocations: 455.6 kB / 0.8574 GB, free: 10.84 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.002513/0.6172, allocations: 2.12 MB / 0.8595 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009476/0.6182, allocations: 414.3 kB / 0.8599 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004787/0.6187, allocations: 224.7 kB / 0.8601 GB, free: 7.949 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000679/0.6194, allocations: 400.3 kB / 0.8605 GB, free: 7.484 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006164/0.62, allocations: 287.1 kB / 0.8608 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=37): time 2.996e-06/0.62, allocations: 0 / 0.8608 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37): time 0.00179/0.6218, allocations: 0.6864 MB / 0.8615 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.6218, allocations: 63.41 kB / 0.8615 GB, free: 6.426 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005519/0.6224, allocations: 490.1 kB / 0.862 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/0.6225, allocations: 37.7 kB / 0.862 GB, free: 5.891 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.6226, allocations: 260.5 kB / 0.8623 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.6228, allocations: 134.9 kB / 0.8624 GB, free: 5.5 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.6229, allocations: 94.08 kB / 0.8625 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.6231, allocations: 366.7 kB / 0.8628 GB, free: 5.035 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004859/0.6236, allocations: 196.8 kB / 0.863 GB, free: 4.84 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005625/0.6242, allocations: 324 kB / 0.8633 GB, free: 4.488 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009965/0.6252, allocations: 0.534 MB / 0.8638 GB, free: 3.902 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.6252, allocations: 0 / 0.8638 GB, free: 3.902 MB / 0.6856 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001272/0.6265, allocations: 0.6533 MB / 0.8645 GB, free: 3.23 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.318e-05/0.6265, allocations: 59.41 kB / 0.8645 GB, free: 3.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.6265, allocations: 8.312 kB / 0.8646 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.6266, allocations: 8 kB / 0.8646 GB, free: 3.145 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/0.627, allocations: 99.94 kB / 0.8647 GB, free: 3.047 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.6271, allocations: 4 kB / 0.8647 GB, free: 3.043 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005476/0.6276, allocations: 79.52 kB / 0.8647 GB, free: 2.965 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/0.6277, allocations: 27.98 kB / 0.8648 GB, free: 2.938 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.0002283/0.6279, allocations: 196.7 kB / 0.8649 GB, free: 2.738 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.898e-05/0.628, allocations: 59.62 kB / 0.865 GB, free: 2.68 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.6292, allocations: 0.537 MB / 0.8655 GB, free: 2.133 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.6292, allocations: 4 kB / 0.8655 GB, free: 2.129 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6292, allocations: 0 / 0.8655 GB, free: 2.129 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.6292, allocations: 4 kB / 0.8655 GB, free: 2.125 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.6315, allocations: 1.356 MB / 0.8669 GB, free: 0.668 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.6315, allocations: 4 kB / 0.8669 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.6319, allocations: 67.89 kB / 0.8669 GB, free: 0.5977 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.6319, allocations: 7.938 kB / 0.8669 GB, free: 0.5898 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.632, allocations: 15.98 kB / 0.867 GB, free: 0.5742 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.632, allocations: 7.984 kB / 0.867 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.632, allocations: 7.938 kB / 0.867 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3611/0.9931, allocations: 0.9358 MB / 0.8679 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003764/0.9935, allocations: 171.4 kB / 0.868 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.726e-05/0.9936, allocations: 11.38 kB / 0.8681 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/0.9941, allocations: 34.02 kB / 0.8681 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.9943, allocations: 52.72 kB / 0.8681 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/0.9943, allocations: 17.47 kB / 0.8682 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005218/0.9948, allocations: 344.3 kB / 0.8685 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9949, allocations: 0 / 0.8685 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000716/0.9956, allocations: 150.6 kB / 0.8686 GB, free: 193.5 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.002534/0.9981, allocations: 1.587 MB / 0.8702 GB, free: 192.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00128/0.9994, allocations: 0.589 MB / 0.8708 GB, free: 192.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9994, allocations: 0.9688 kB / 0.8708 GB, free: 192.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006929/1, allocations: 291.1 kB / 0.871 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/1.002, allocations: 280.7 kB / 0.8713 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007659/1.009, allocations: 5.008 MB / 0.8762 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/1.01, allocations: 0.8672 MB / 0.877 GB, free: 188.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005456/1.01, allocations: 126.8 kB / 0.8772 GB, free: 188.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/1.01, allocations: 178.1 kB / 0.8773 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of SimCode: time 1.332e-06/1.01, allocations: 0 / 0.8773 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0385/1.049, allocations: 15.85 MB / 0.8928 GB, free: 181.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.419/9.468, allocations: 10.69 kB / 0.8928 GB, free: 181.2 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)