Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.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.RelativeHumidity,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_RelativeHumidity",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.001328/0.001328, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7521/0.7521, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 68.77 kB / 0.5019 GB, free: 8.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1799, allocations: 80.19 MB / 0.5802 GB, free: 8.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.RelativeHumidity): time 0.5522/0.7321, allocations: 165.2 MB / 0.7416 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002975/0.7351, allocations: 1.557 MB / 0.7431 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003778/0.7355, allocations: 11.88 kB / 0.7431 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000485/0.736, allocations: 144.3 kB / 0.7432 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.7374, allocations: 467.3 kB / 0.7437 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.7395, allocations: 0.7473 MB / 0.7444 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007192/0.7402, allocations: 0.6991 MB / 0.7451 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004271/0.7407, allocations: 269.9 kB / 0.7454 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005184/0.7412, allocations: 315 kB / 0.7457 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.7415, allocations: 220.9 kB / 0.7459 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.481e-05/0.7415, allocations: 23.31 kB / 0.7459 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.7431, allocations: 0.8708 MB / 0.7467 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.7433, allocations: 112 kB / 0.7468 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.7434, allocations: 158.8 kB / 0.747 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.7445, allocations: 0.7318 MB / 0.7477 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.7445, allocations: 11.92 kB / 0.7477 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7445, allocations: 0 / 0.7477 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.7445, allocations: 3.938 kB / 0.7477 GB, free: 5.715 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001137/0.7457, allocations: 0.6703 MB / 0.7484 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.7457, allocations: 10.06 kB / 0.7484 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.413e-05/0.7458, allocations: 57.33 kB / 0.7484 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004896/0.7463, allocations: 93.17 kB / 0.7485 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.7466, allocations: 301 kB / 0.7488 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.7467, allocations: 19.34 kB / 0.7488 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.97e-05/0.7467, allocations: 26.83 kB / 0.7489 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006489/0.7474, allocations: 332 kB / 0.7492 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.7474, allocations: 6.156 kB / 0.7492 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/0.7475, allocations: 11 kB / 0.7492 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.7475, allocations: 4.812 kB / 0.7492 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007024/0.7482, allocations: 286.8 kB / 0.7495 GB, free: 4.375 MB / 0.5606 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.001763/0.75, allocations: 1.073 MB / 0.7505 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009259/0.7509, allocations: 323.2 kB / 0.7508 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/0.7512, allocations: 133.9 kB / 0.751 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006695/0.7519, allocations: 396.6 kB / 0.7513 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.7519, allocations: 41.59 kB / 0.7514 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.833e-06/0.752, allocations: 0 / 0.7514 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001176/0.7531, allocations: 407.2 kB / 0.7518 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.7532, allocations: 56.38 kB / 0.7518 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.7534, allocations: 264.2 kB / 0.7521 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.7535, allocations: 29.7 kB / 0.7521 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.7536, allocations: 171.7 kB / 0.7523 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.7537, allocations: 59.7 kB / 0.7523 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.415e-05/0.7537, allocations: 47.42 kB / 0.7524 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.7539, allocations: 336.3 kB / 0.7527 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.7542, allocations: 105 kB / 0.7528 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.7545, allocations: 172.2 kB / 0.7529 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006381/0.7552, allocations: 270.6 kB / 0.7532 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7552, allocations: 3.938 kB / 0.7532 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000764/0.756, allocations: 317.1 kB / 0.7535 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.756, allocations: 6.5 kB / 0.7535 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.756, allocations: 3.938 kB / 0.7535 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/0.756, allocations: 4 kB / 0.7535 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.7563, allocations: 55.89 kB / 0.7536 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.7563, allocations: 4 kB / 0.7536 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.7566, allocations: 39.94 kB / 0.7536 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.7566, allocations: 12 kB / 0.7536 GB, free: 0.8164 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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.0001631/0.7568, allocations: 159.2 kB / 0.7538 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.7569, allocations: 27.62 kB / 0.7538 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008056/0.7577, allocations: 322.7 kB / 0.7541 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.7577, allocations: 11.92 kB / 0.7541 GB, free: 296 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.7577, allocations: 0 / 0.7541 GB, free: 296 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.7577, allocations: 0 / 0.7541 GB, free: 296 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.7593, allocations: 0.9364 MB / 0.755 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.7593, allocations: 192 / 0.755 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.7595, allocations: 51.91 kB / 0.7551 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.7595, allocations: 4 kB / 0.7551 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.7596, allocations: 8 kB / 0.7551 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.7596, allocations: 3.984 kB / 0.7551 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.7596, allocations: 4 kB / 0.7551 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.7607, allocations: 0.5583 MB / 0.7557 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.7609, allocations: 124.7 kB / 0.7558 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.7609, allocations: 8 kB / 0.7558 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.7612, allocations: 23.97 kB / 0.7558 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/0.7613, allocations: 19.92 kB / 0.7558 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.7613, allocations: 12.05 kB / 0.7558 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001755/0.7615, allocations: 194 kB / 0.756 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.196e-06/0.7615, allocations: 0 / 0.756 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004902/0.762, allocations: 111.8 kB / 0.7561 GB, free: 14.09 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001976/0.764, allocations: 1.18 MB / 0.7573 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007843/0.7648, allocations: 259.7 kB / 0.7575 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.7648, allocations: 0 / 0.7575 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000373/0.7651, allocations: 140.5 kB / 0.7577 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008012/0.766, allocations: 150.8 kB / 0.7578 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00446/0.7704, allocations: 2.964 MB / 0.7607 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.7709, allocations: 0.787 MB / 0.7615 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003208/0.7713, allocations: 62.25 kB / 0.7615 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.7714, allocations: 91.39 kB / 0.7616 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of SimCode: time 1.102e-06/0.7715, allocations: 0 / 0.7616 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03187/0.8033, allocations: 8.836 MB / 0.7702 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/8.552, allocations: 10.27 kB / 0.7703 GB, free: 15.63 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 IDEAS_IDEAS_Fluid_Sensors_Examples_RelativeHumidity.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)