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.004792/0.004793, allocations: 97.33 kB / 15.73 MB, free: 6.035 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.001112/0.001112, allocations: 201.7 kB / 16.68 MB, free: 5.961 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7287/0.7287, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.33 kB / 0.5809 GB, free: 1.098 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1636, allocations: 80.21 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.RelativeHumidity): time 0.5797/0.7433, allocations: 165.3 MB / 0.8206 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002941/0.7463, allocations: 1.549 MB / 0.8221 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004245/0.7468, allocations: 11.5 kB / 0.8221 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0004811/0.7473, allocations: 140.7 kB / 0.8222 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.7487, allocations: 494.7 kB / 0.8227 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002411/0.7511, allocations: 0.766 MB / 0.8235 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001254/0.7524, allocations: 0.7019 MB / 0.8242 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004978/0.7529, allocations: 266.8 kB / 0.8244 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006363/0.7535, allocations: 318.8 kB / 0.8247 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003272/0.7539, allocations: 225.3 kB / 0.8249 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.907e-05/0.7539, allocations: 29.73 kB / 0.825 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002043/0.756, allocations: 0.8689 MB / 0.8258 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.7562, allocations: 113.5 kB / 0.8259 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002236/0.7564, allocations: 156.3 kB / 0.8261 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.7581, allocations: 0.7563 MB / 0.8268 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.7581, allocations: 0 / 0.8268 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.425e-06/0.7581, allocations: 1.031 kB / 0.8268 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.7581, allocations: 1.203 kB / 0.8268 GB, free: 3.168 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001227/0.7593, allocations: 0.6864 MB / 0.8275 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.7594, allocations: 10.38 kB / 0.8275 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.401e-05/0.7595, allocations: 60.52 kB / 0.8275 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005317/0.76, allocations: 80.33 kB / 0.8276 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004686/0.7605, allocations: 322.1 kB / 0.8279 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.7605, allocations: 17.38 kB / 0.8279 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.7606, allocations: 28.44 kB / 0.828 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006834/0.7613, allocations: 331.5 kB / 0.8283 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.7613, allocations: 0 / 0.8283 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/0.7613, allocations: 10.56 kB / 0.8283 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.7614, allocations: 5.719 kB / 0.8283 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000717/0.7621, allocations: 286.2 kB / 0.8286 GB, free: 2.309 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.001624/0.7637, allocations: 1.067 MB / 0.8296 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000874/0.7646, allocations: 332.1 kB / 0.8299 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.7649, allocations: 141.5 kB / 0.8301 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005926/0.7655, allocations: 393.9 kB / 0.8304 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.7656, allocations: 33.94 kB / 0.8305 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=19): time 1.813e-06/0.7656, allocations: 0 / 0.8305 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19): time 0.001244/0.7668, allocations: 410.8 kB / 0.8309 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.7669, allocations: 54.91 kB / 0.8309 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.7671, allocations: 262.6 kB / 0.8312 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.7672, allocations: 31.67 kB / 0.8312 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.7674, allocations: 172.6 kB / 0.8314 GB, free: 16.9 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.7674, allocations: 68.16 kB / 0.8314 GB, free: 16.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.262e-05/0.7675, allocations: 49.39 kB / 0.8315 GB, free: 16.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.7676, allocations: 340.4 kB / 0.8318 GB, free: 16.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.7679, allocations: 104.9 kB / 0.8319 GB, free: 16.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/0.7683, allocations: 163.9 kB / 0.8321 GB, free: 16.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006243/0.7689, allocations: 273.1 kB / 0.8323 GB, free: 16.42 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.7689, allocations: 0 / 0.8323 GB, free: 16.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007948/0.7697, allocations: 316.3 kB / 0.8326 GB, free: 16.37 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.7698, allocations: 5.75 kB / 0.8326 GB, free: 16.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.7698, allocations: 2.219 kB / 0.8326 GB, free: 16.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.7698, allocations: 3.375 kB / 0.8326 GB, free: 16.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.7701, allocations: 58.97 kB / 0.8327 GB, free: 16.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.7701, allocations: 1.469 kB / 0.8327 GB, free: 16.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.7704, allocations: 45.44 kB / 0.8327 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.7705, allocations: 12.38 kB / 0.8327 GB, free: 16.36 MB / 0.6544 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.0001906/0.7707, allocations: 154.1 kB / 0.8329 GB, free: 16.24 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-05/0.7708, allocations: 32.25 kB / 0.8329 GB, free: 16.22 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008046/0.7716, allocations: 316.4 kB / 0.8332 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.7716, allocations: 3.812 kB / 0.8332 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.7716, allocations: 0.8438 kB / 0.8332 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.7716, allocations: 2.625 kB / 0.8332 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.7732, allocations: 0.9266 MB / 0.8341 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.7732, allocations: 2.75 kB / 0.8341 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.7734, allocations: 58.36 kB / 0.8342 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.7735, allocations: 3.438 kB / 0.8342 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.7735, allocations: 8.688 kB / 0.8342 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.7735, allocations: 3.375 kB / 0.8342 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.7735, allocations: 4.562 kB / 0.8342 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.7746, allocations: 0.556 MB / 0.8348 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.7747, allocations: 131.6 kB / 0.8349 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.7748, allocations: 7.797 kB / 0.8349 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.775, allocations: 24.42 kB / 0.8349 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.66e-05/0.7751, allocations: 18.27 kB / 0.8349 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.7751, allocations: 15.3 kB / 0.8349 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000231/0.7754, allocations: 191.9 kB / 0.8351 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7754, allocations: 0 / 0.8351 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006638/0.7761, allocations: 109.9 kB / 0.8352 GB, free: 15.25 MB / 0.6544 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.001908/0.778, allocations: 1.202 MB / 0.8364 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007522/0.7787, allocations: 257.8 kB / 0.8366 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.7788, allocations: 2.125 kB / 0.8367 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003382/0.7791, allocations: 136.2 kB / 0.8368 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00077/0.7799, allocations: 128 kB / 0.8369 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00431/0.7842, allocations: 2.983 MB / 0.8398 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.7846, allocations: 0.7852 MB / 0.8406 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002861/0.7849, allocations: 69.02 kB / 0.8406 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.785, allocations: 88.47 kB / 0.8407 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of SimCode: time 6.41e-07/0.785, allocations: 1.781 kB / 0.8407 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.8141, allocations: 8.939 MB / 0.8495 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.061/8.875, allocations: 7 kB / 0.8495 GB, free: 11.54 MB / 0.6544 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)