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.001185/0.001185, allocations: 108 kB / 15.6 MB, free: 132 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.001623/0.001623, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002242/0.002242, allocations: 283.1 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9436/0.9436, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 96.62 kB / 0.5953 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.151, allocations: 86.99 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.4643/0.6153, allocations: 165.2 MB / 0.8417 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002652/0.618, allocations: 1.549 MB / 0.8432 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002701/0.6183, allocations: 11.62 kB / 0.8432 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004116/0.6187, allocations: 144 kB / 0.8433 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.6198, allocations: 467.9 kB / 0.8438 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.6214, allocations: 0.7499 MB / 0.8445 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006197/0.6221, allocations: 0.7015 MB / 0.8452 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004208/0.6225, allocations: 269.1 kB / 0.8454 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004804/0.623, allocations: 313.1 kB / 0.8457 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.6233, allocations: 222.1 kB / 0.846 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.049e-05/0.6233, allocations: 25.41 kB / 0.846 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.6248, allocations: 0.8562 MB / 0.8468 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.625, allocations: 114.4 kB / 0.8469 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.6251, allocations: 158.6 kB / 0.8471 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.6263, allocations: 0.7418 MB / 0.8478 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.6263, allocations: 0 / 0.8478 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6263, allocations: 0 / 0.8478 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.6263, allocations: 0 / 0.8478 GB, free: 13.91 MB / 0.5762 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.001344/0.6277, allocations: 0.6871 MB / 0.8485 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.6277, allocations: 10.25 kB / 0.8485 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.596e-05/0.6278, allocations: 55.33 kB / 0.8485 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007585/0.6286, allocations: 87.22 kB / 0.8486 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005372/0.6291, allocations: 299.5 kB / 0.8489 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.6292, allocations: 14.88 kB / 0.8489 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.337e-05/0.6293, allocations: 31.62 kB / 0.8489 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009448/0.6302, allocations: 336.2 kB / 0.8493 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.6303, allocations: 0 / 0.8493 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.424e-05/0.6303, allocations: 10.53 kB / 0.8493 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.6303, allocations: 9.438 kB / 0.8493 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.6314, allocations: 281.9 kB / 0.8496 GB, free: 12.57 MB / 0.5762 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.002354/0.6338, allocations: 1.075 MB / 0.8506 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.6351, allocations: 323.4 kB / 0.8509 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004878/0.6356, allocations: 141.9 kB / 0.851 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/0.6367, allocations: 394.8 kB / 0.8514 GB, free: 11 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.6367, allocations: 34.55 kB / 0.8515 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 2.344e-06/0.6367, allocations: 0 / 0.8515 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001839/0.6386, allocations: 408.2 kB / 0.8518 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.6387, allocations: 57.84 kB / 0.8519 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003465/0.639, allocations: 264.6 kB / 0.8522 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.6391, allocations: 31.05 kB / 0.8522 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.6392, allocations: 168.6 kB / 0.8523 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.414e-05/0.6393, allocations: 63.02 kB / 0.8524 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.6394, allocations: 55.7 kB / 0.8525 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.6396, allocations: 336.3 kB / 0.8528 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.6399, allocations: 102.7 kB / 0.8529 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004083/0.6403, allocations: 165.8 kB / 0.853 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006057/0.6409, allocations: 264.4 kB / 0.8533 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.6409, allocations: 1.094 kB / 0.8533 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007066/0.6416, allocations: 319.5 kB / 0.8536 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.6416, allocations: 7.281 kB / 0.8536 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6417, allocations: 0 / 0.8536 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.6417, allocations: 6.812 kB / 0.8536 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.6419, allocations: 61.89 kB / 0.8537 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.642, allocations: 3.281 kB / 0.8537 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.6422, allocations: 42.97 kB / 0.8537 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.6423, allocations: 7.469 kB / 0.8537 GB, free: 9.359 MB / 0.5762 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.000147/0.6424, allocations: 157.7 kB / 0.8539 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/0.6425, allocations: 23.78 kB / 0.8539 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007664/0.6432, allocations: 318.9 kB / 0.8542 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.6433, allocations: 8.844 kB / 0.8542 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6433, allocations: 0 / 0.8542 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.6433, allocations: 4.031 kB / 0.8542 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.6448, allocations: 0.9255 MB / 0.8551 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6448, allocations: 14.08 kB / 0.8551 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.645, allocations: 47.22 kB / 0.8552 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.645, allocations: 2.781 kB / 0.8552 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.6451, allocations: 4.469 kB / 0.8552 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.6451, allocations: 6.5 kB / 0.8552 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.6451, allocations: 1.875 kB / 0.8552 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.6461, allocations: 0.5661 MB / 0.8557 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.6463, allocations: 123.9 kB / 0.8559 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.6464, allocations: 4.656 kB / 0.8559 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.6466, allocations: 22.16 kB / 0.8559 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.6467, allocations: 25.55 kB / 0.8559 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.6467, allocations: 5.938 kB / 0.8559 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000169/0.6469, allocations: 197.9 kB / 0.8561 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6469, allocations: 0 / 0.8561 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004602/0.6473, allocations: 108.3 kB / 0.8562 GB, free: 7.492 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.001772/0.6491, allocations: 1.192 MB / 0.8574 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007189/0.6499, allocations: 273.4 kB / 0.8576 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6499, allocations: 0 / 0.8576 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00034/0.6502, allocations: 139.7 kB / 0.8578 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007577/0.651, allocations: 141.2 kB / 0.8579 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00415/0.6551, allocations: 2.978 MB / 0.8608 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.6555, allocations: 0.7788 MB / 0.8616 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002448/0.6558, allocations: 66.14 kB / 0.8616 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.6559, allocations: 88.84 kB / 0.8617 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.6559, allocations: 2.875 kB / 0.8617 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.6838, allocations: 8.863 MB / 0.8704 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.594/8.278, allocations: 20.03 kB / 0.8704 GB, free: 14.83 MB / 0.5919 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)