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.005724/0.005724, allocations: 99.44 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.00152/0.00152, allocations: 192.5 kB / 16.67 MB, free: 5.926 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002338/0.002338, allocations: 287.9 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.16/1.16, allocations: 178.6 MB / 0.5074 GB, free: 12.64 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002669/0.002669, allocations: 107.8 kB / 0.6943 GB, free: 15.22 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3829, allocations: 89.12 MB / 0.7814 GB, free: 1.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.1819/0.5648, allocations: 165.3 MB / 0.9427 GB, free: 2.902 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0031/0.568, allocations: 1.547 MB / 0.9443 GB, free: 1.348 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004005/0.5684, allocations: 11.94 kB / 0.9443 GB, free: 1.336 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005327/0.5689, allocations: 150.9 kB / 0.9444 GB, free: 1.188 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.5703, allocations: 465.8 kB / 0.9449 GB, free: 0.7305 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.5722, allocations: 0.7571 MB / 0.9456 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009833/0.5732, allocations: 0.7097 MB / 0.9463 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005364/0.5738, allocations: 270.2 kB / 0.9465 GB, free: 15 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007066/0.5745, allocations: 306.9 kB / 0.9468 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003933/0.5749, allocations: 231 kB / 0.9471 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.304e-05/0.575, allocations: 24 kB / 0.9471 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.5767, allocations: 0.8652 MB / 0.9479 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.5768, allocations: 115.7 kB / 0.948 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.5771, allocations: 159.2 kB / 0.9482 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.5785, allocations: 0.7424 MB / 0.9489 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5785, allocations: 0 / 0.9489 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.093e-06/0.5785, allocations: 0 / 0.9489 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.5785, allocations: 0 / 0.9489 GB, free: 12.57 MB / 0.7169 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.001224/0.5798, allocations: 0.6849 MB / 0.9496 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.5798, allocations: 8.031 kB / 0.9496 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.457e-05/0.5799, allocations: 58.55 kB / 0.9496 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005135/0.5804, allocations: 83.64 kB / 0.9497 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004863/0.5809, allocations: 326 kB / 0.95 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.5809, allocations: 16.56 kB / 0.9501 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.581, allocations: 24 kB / 0.9501 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007348/0.5817, allocations: 336.1 kB / 0.9504 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.5818, allocations: 0 / 0.9504 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.5818, allocations: 15.94 kB / 0.9504 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.5818, allocations: 4 kB / 0.9504 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007581/0.5826, allocations: 289.5 kB / 0.9507 GB, free: 10.64 MB / 0.7169 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.001718/0.5843, allocations: 1.063 MB / 0.9517 GB, free: 9.512 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009116/0.5852, allocations: 327.7 kB / 0.952 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003429/0.5856, allocations: 135.3 kB / 0.9522 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006814/0.5863, allocations: 396.3 kB / 0.9525 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.5863, allocations: 34.5 kB / 0.9526 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.5863, allocations: 0 / 0.9526 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19): time 0.001254/0.5876, allocations: 409.1 kB / 0.953 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.5876, allocations: 51.41 kB / 0.953 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.5879, allocations: 271 kB / 0.9533 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.5879, allocations: 29.64 kB / 0.9533 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.5881, allocations: 176.3 kB / 0.9535 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.744e-05/0.5881, allocations: 63.44 kB / 0.9535 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.968e-05/0.5882, allocations: 49.7 kB / 0.9536 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.5884, allocations: 334.8 kB / 0.9539 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003263/0.5887, allocations: 103.9 kB / 0.954 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003737/0.5891, allocations: 172.7 kB / 0.9542 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006653/0.5898, allocations: 270.9 kB / 0.9544 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5898, allocations: 4 kB / 0.9544 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007639/0.5906, allocations: 309.2 kB / 0.9547 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.5906, allocations: 8 kB / 0.9547 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.5906, allocations: 0 / 0.9547 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.5906, allocations: 7.938 kB / 0.9547 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.5909, allocations: 59.89 kB / 0.9548 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.5909, allocations: 4.156 kB / 0.9548 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.5912, allocations: 47.75 kB / 0.9548 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.5912, allocations: 11.98 kB / 0.9549 GB, free: 6.098 MB / 0.7169 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.000158/0.5914, allocations: 149.8 kB / 0.955 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.5914, allocations: 31.8 kB / 0.955 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008343/0.5923, allocations: 329.5 kB / 0.9553 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.5923, allocations: 0 / 0.9553 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.5923, allocations: 4 kB / 0.9553 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5923, allocations: 0 / 0.9553 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.5939, allocations: 0.9252 MB / 0.9563 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.5939, allocations: 4.188 kB / 0.9563 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/0.5942, allocations: 55.94 kB / 0.9563 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.5942, allocations: 7.984 kB / 0.9563 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.5942, allocations: 0 / 0.9563 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.5942, allocations: 4 kB / 0.9563 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5942, allocations: 0 / 0.9563 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.5954, allocations: 0.571 MB / 0.9569 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.5955, allocations: 128.9 kB / 0.957 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.5956, allocations: 4 kB / 0.957 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.5958, allocations: 19.97 kB / 0.957 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/0.5959, allocations: 31.84 kB / 0.9571 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.5959, allocations: 8.062 kB / 0.9571 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001927/0.5961, allocations: 194 kB / 0.9572 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5961, allocations: 0 / 0.9572 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004263/0.5966, allocations: 107.8 kB / 0.9573 GB, free: 3.371 MB / 0.7169 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.001878/0.5984, allocations: 1.189 MB / 0.9585 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007544/0.5992, allocations: 255.6 kB / 0.9588 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5992, allocations: 0 / 0.9588 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003709/0.5996, allocations: 140.5 kB / 0.9589 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007449/0.6003, allocations: 140.1 kB / 0.959 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004389/0.6047, allocations: 2.968 MB / 0.9619 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.6052, allocations: 0.7755 MB / 0.9627 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002243/0.6054, allocations: 66.23 kB / 0.9627 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.6056, allocations: 87.41 kB / 0.9628 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.6056, allocations: 3.938 kB / 0.9628 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03324/0.6388, allocations: 8.967 MB / 0.9716 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.834/8.473, allocations: 12.69 kB / 0.9716 GB, free: 4.777 MB / 0.7325 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)