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.004997/0.004997, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001325/0.001325, allocations: 198.1 kB / 16.68 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9814/0.9814, allocations: 135.6 MB / 426.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002084, allocations: 67.88 kB / 0.5858 GB, free: 3.199 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4229, allocations: 81.02 MB / 0.6649 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2179/0.6409, allocations: 181.8 MB / 0.8424 GB, free: 10.47 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.006373/0.6473, allocations: 4.458 MB / 0.8467 GB, free: 6.004 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000539/0.6479, allocations: 23.88 kB / 0.8468 GB, free: 5.98 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000667/0.6486, allocations: 242.1 kB / 0.847 GB, free: 5.742 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001782/0.6504, allocations: 0.758 MB / 0.8477 GB, free: 4.98 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003514/0.6539, allocations: 1.519 MB / 0.8492 GB, free: 3.461 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001527/0.6555, allocations: 1.266 MB / 0.8505 GB, free: 2.191 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006304/0.6561, allocations: 452.7 kB / 0.8509 GB, free: 1.75 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009515/0.6571, allocations: 0.5682 MB / 0.8514 GB, free: 1.18 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005112/0.6576, allocations: 414.3 kB / 0.8518 GB, free: 0.7734 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 7.736e-05/0.6577, allocations: 44 kB / 0.8519 GB, free: 0.7305 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/0.6603, allocations: 1.547 MB / 0.8534 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002358/0.6606, allocations: 191.4 kB / 0.8536 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003306/0.6609, allocations: 294.6 kB / 0.8539 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001984/0.6629, allocations: 1.325 MB / 0.8552 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6629, allocations: 0 / 0.8552 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.223e-06/0.6629, allocations: 0 / 0.8552 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.663, allocations: 0 / 0.8552 GB, free: 13.38 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.001795/0.6648, allocations: 1.036 MB / 0.8562 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.6648, allocations: 11.97 kB / 0.8562 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.489e-05/0.6649, allocations: 82.52 kB / 0.8563 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001938/0.6669, allocations: 291.2 kB / 0.8565 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000792/0.6677, allocations: 461.9 kB / 0.857 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/0.6677, allocations: 40.98 kB / 0.857 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-05/0.6678, allocations: 43.95 kB / 0.8571 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.6689, allocations: 0.5545 MB / 0.8576 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.6689, allocations: 4 kB / 0.8576 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.569e-05/0.669, allocations: 19.98 kB / 0.8576 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.669, allocations: 12 kB / 0.8576 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.6701, allocations: 451.6 kB / 0.8581 GB, free: 10.25 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.002718/0.6728, allocations: 2.12 MB / 0.8601 GB, free: 8.004 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.6738, allocations: 414.3 kB / 0.8605 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005303/0.6744, allocations: 220.7 kB / 0.8607 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007612/0.6751, allocations: 400.3 kB / 0.8611 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006428/0.6758, allocations: 287.7 kB / 0.8614 GB, free: 6.613 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=37): time 5.45e-06/0.6758, allocations: 3.984 kB / 0.8614 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37): time 0.001988/0.6778, allocations: 0.6925 MB / 0.8621 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.6779, allocations: 55.41 kB / 0.8621 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006306/0.6785, allocations: 498.1 kB / 0.8626 GB, free: 5.344 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/0.6785, allocations: 29.7 kB / 0.8626 GB, free: 5.309 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.6788, allocations: 272.4 kB / 0.8629 GB, free: 5.039 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.6789, allocations: 130.9 kB / 0.863 GB, free: 4.91 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.6791, allocations: 90.08 kB / 0.8631 GB, free: 4.816 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.6793, allocations: 374.7 kB / 0.8635 GB, free: 4.441 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005067/0.6798, allocations: 196.8 kB / 0.8636 GB, free: 4.246 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006224/0.6804, allocations: 316.1 kB / 0.8639 GB, free: 3.902 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.6815, allocations: 0.5418 MB / 0.8645 GB, free: 3.309 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.6815, allocations: 4 kB / 0.8645 GB, free: 3.305 MB / 0.6856 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001343/0.6829, allocations: 0.6455 MB / 0.8651 GB, free: 2.641 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.405e-05/0.6829, allocations: 59.41 kB / 0.8652 GB, free: 2.57 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.683, allocations: 4 kB / 0.8652 GB, free: 2.566 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.683, allocations: 4.375 kB / 0.8652 GB, free: 2.562 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000491/0.6835, allocations: 103.8 kB / 0.8653 GB, free: 2.461 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.6835, allocations: 4 kB / 0.8653 GB, free: 2.457 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005227/0.684, allocations: 83.58 kB / 0.8654 GB, free: 2.375 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/0.6841, allocations: 27.98 kB / 0.8654 GB, free: 2.348 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.0002748/0.6844, allocations: 197.6 kB / 0.8656 GB, free: 2.148 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.946e-05/0.6845, allocations: 63.62 kB / 0.8656 GB, free: 2.086 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.6858, allocations: 0.5253 MB / 0.8661 GB, free: 1.551 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.6858, allocations: 4 kB / 0.8661 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6858, allocations: 0 / 0.8661 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.6858, allocations: 0 / 0.8661 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/0.6883, allocations: 1.36 MB / 0.8675 GB, free: 88 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.6884, allocations: 8.094 kB / 0.8675 GB, free: 80 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000415/0.6888, allocations: 79.83 kB / 0.8676 GB, free: 0 / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.319/1.008, allocations: 1.578 kB / 0.8676 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/1.008, allocations: 8.594 kB / 0.8676 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.554e-05/1.008, allocations: 6.688 kB / 0.8676 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.008, allocations: 3.375 kB / 0.8676 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/1.01, allocations: 0.9402 MB / 0.8685 GB, free: 193.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/1.01, allocations: 171.7 kB / 0.8687 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.088e-05/1.01, allocations: 11.34 kB / 0.8687 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004463/1.011, allocations: 34.12 kB / 0.8687 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/1.011, allocations: 54.58 kB / 0.8688 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/1.011, allocations: 17.61 kB / 0.8688 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004538/1.011, allocations: 344.3 kB / 0.8691 GB, free: 193 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.11e-07/1.012, allocations: 0 / 0.8691 GB, free: 193 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000609/1.012, allocations: 151.3 kB / 0.8692 GB, free: 193 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.002325/1.014, allocations: 1.587 MB / 0.8708 GB, free: 192 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001275/1.016, allocations: 0.5802 MB / 0.8714 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/1.016, allocations: 1.188 kB / 0.8714 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007154/1.016, allocations: 298.5 kB / 0.8716 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/1.018, allocations: 286.5 kB / 0.8719 GB, free: 191.6 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007551/1.026, allocations: 5.006 MB / 0.8768 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/1.026, allocations: 0.8703 MB / 0.8777 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005683/1.026, allocations: 126.7 kB / 0.8778 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/1.027, allocations: 178 kB / 0.878 GB, free: 187.9 MB / 0.6856 GB Notification: Performance of SimCode: time 6.51e-07/1.027, allocations: 0.5938 kB / 0.878 GB, free: 187.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04364/1.07, allocations: 15.85 MB / 0.8934 GB, free: 180.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.673/9.744, allocations: 8.797 kB / 0.8934 GB, free: 180.6 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)