Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="BuildingSystems_BuildingSystems_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.005294/0.005294, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001407/0.001407, allocations: 198.5 kB / 16.67 MB, free: 5.934 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002394/0.002394, allocations: 286.6 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9683/0.9683, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002546/0.002546, allocations: 96.19 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1598, allocations: 86.97 MB / 0.7659 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.5003/0.6602, allocations: 165.3 MB / 0.9273 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.00272/0.6629, allocations: 1.551 MB / 0.9288 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.6631, allocations: 11.94 kB / 0.9288 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004214/0.6636, allocations: 142.9 kB / 0.929 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.6648, allocations: 469.8 kB / 0.9294 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.6665, allocations: 0.7487 MB / 0.9301 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0007694/0.6673, allocations: 0.7059 MB / 0.9308 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000403/0.6677, allocations: 274.5 kB / 0.9311 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004855/0.6682, allocations: 302.9 kB / 0.9314 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.6685, allocations: 231 kB / 0.9316 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 4.742e-05/0.6685, allocations: 27.94 kB / 0.9316 GB, free: 9.383 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.6699, allocations: 0.8652 MB / 0.9325 GB, free: 8.516 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.6701, allocations: 119.7 kB / 0.9326 GB, free: 8.398 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.6703, allocations: 159.2 kB / 0.9327 GB, free: 8.242 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.6713, allocations: 0.7453 MB / 0.9335 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6713, allocations: 0 / 0.9335 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6713, allocations: 4 kB / 0.9335 GB, free: 7.496 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.6714, allocations: 0 / 0.9335 GB, free: 7.496 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001146/0.6725, allocations: 0.6888 MB / 0.9341 GB, free: 6.758 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.6725, allocations: 12.03 kB / 0.9342 GB, free: 6.746 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.578e-05/0.6726, allocations: 58.55 kB / 0.9342 GB, free: 6.68 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004585/0.6731, allocations: 87.64 kB / 0.9343 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.6735, allocations: 322 kB / 0.9346 GB, free: 6.242 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.6736, allocations: 16.56 kB / 0.9346 GB, free: 6.223 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.011e-05/0.6736, allocations: 24 kB / 0.9346 GB, free: 6.199 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000668/0.6743, allocations: 336.1 kB / 0.935 GB, free: 5.855 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.6743, allocations: 0 / 0.935 GB, free: 5.855 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.6744, allocations: 12 kB / 0.935 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.6744, allocations: 7.938 kB / 0.935 GB, free: 5.836 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006944/0.6751, allocations: 277.5 kB / 0.9352 GB, free: 5.566 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.001594/0.6767, allocations: 1.071 MB / 0.9363 GB, free: 4.43 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008452/0.6775, allocations: 315.7 kB / 0.9366 GB, free: 4.094 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/0.6779, allocations: 141.4 kB / 0.9367 GB, free: 3.953 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006455/0.6785, allocations: 396.3 kB / 0.9371 GB, free: 3.492 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.6786, allocations: 38.48 kB / 0.9371 GB, free: 3.445 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=19): time 1.302e-06/0.6786, allocations: 0 / 0.9371 GB, free: 3.445 MB / 0.6856 GB Notification: Performance of matching and sorting (n=19): time 0.001172/0.6798, allocations: 411.4 kB / 0.9375 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.6798, allocations: 51.41 kB / 0.9376 GB, free: 2.977 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.6801, allocations: 271 kB / 0.9378 GB, free: 2.707 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.6801, allocations: 25.7 kB / 0.9379 GB, free: 2.676 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.6803, allocations: 176.3 kB / 0.938 GB, free: 2.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.498e-05/0.6803, allocations: 63.44 kB / 0.9381 GB, free: 2.438 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.313e-05/0.6804, allocations: 49.7 kB / 0.9381 GB, free: 2.383 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.6806, allocations: 334.8 kB / 0.9385 GB, free: 2.047 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.6809, allocations: 103.9 kB / 0.9386 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/0.6812, allocations: 167.9 kB / 0.9387 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006181/0.6818, allocations: 274.8 kB / 0.939 GB, free: 1.477 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.6819, allocations: 5.438 kB / 0.939 GB, free: 1.473 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007194/0.6826, allocations: 313.2 kB / 0.9393 GB, free: 1.16 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.6826, allocations: 8 kB / 0.9393 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.6826, allocations: 0 / 0.9393 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.6826, allocations: 7.938 kB / 0.9393 GB, free: 1.145 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.6829, allocations: 59.83 kB / 0.9394 GB, free: 1.086 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.6829, allocations: 4 kB / 0.9394 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.6831, allocations: 47.91 kB / 0.9394 GB, free: 1.035 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.6832, allocations: 8 kB / 0.9394 GB, free: 1.027 MB / 0.6856 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.0001505/0.6833, allocations: 153.8 kB / 0.9396 GB, free: 0.8672 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.546e-05/0.6834, allocations: 27.89 kB / 0.9396 GB, free: 0.8398 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007805/0.6842, allocations: 317.9 kB / 0.9399 GB, free: 0.5273 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.6842, allocations: 3.938 kB / 0.9399 GB, free: 0.5234 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.6842, allocations: 3.938 kB / 0.9399 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.6842, allocations: 7.984 kB / 0.9399 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.6857, allocations: 0.9246 MB / 0.9408 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.6857, allocations: 8.172 kB / 0.9408 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.686, allocations: 51.91 kB / 0.9409 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.686, allocations: 0 / 0.9409 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.686, allocations: 8 kB / 0.9409 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.686, allocations: 4 kB / 0.9409 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.686, allocations: 3.984 kB / 0.9409 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.6871, allocations: 0.5626 MB / 0.9414 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.6873, allocations: 128.8 kB / 0.9416 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.6873, allocations: 4 kB / 0.9416 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.6875, allocations: 22.34 kB / 0.9416 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/0.6876, allocations: 23.86 kB / 0.9416 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.6876, allocations: 16.06 kB / 0.9416 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001809/0.6878, allocations: 193.9 kB / 0.9418 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6878, allocations: 0 / 0.9418 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004196/0.6882, allocations: 103.8 kB / 0.9419 GB, free: 14.31 MB / 0.7012 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.001717/0.69, allocations: 1.2 MB / 0.9431 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.000687/0.6907, allocations: 263.6 kB / 0.9433 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6907, allocations: 0 / 0.9433 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003492/0.691, allocations: 140.4 kB / 0.9435 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006846/0.6917, allocations: 141.3 kB / 0.9436 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004101/0.6958, allocations: 2.966 MB / 0.9465 GB, free: 9.449 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.6962, allocations: 0.7794 MB / 0.9473 GB, free: 8.645 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002361/0.6965, allocations: 71.28 kB / 0.9473 GB, free: 8.574 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.6966, allocations: 87.41 kB / 0.9474 GB, free: 8.488 MB / 0.7012 GB Notification: Performance of SimCode: time 2.004e-06/0.6967, allocations: 0 / 0.9474 GB, free: 8.488 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03286/0.7295, allocations: 8.952 MB / 0.9561 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.872/8.601, allocations: 18.66 kB / 0.9562 GB, free: 15.72 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)