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.0009923/0.0009923, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007272/0.007272, allocations: 174.1 kB / 16.26 MB, free: 6.613 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.313/1.313, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001642/0.001642, allocations: 262.6 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8694/0.8694, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004709, allocations: 13.38 kB / 0.5988 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1427, allocations: 88.54 MB / 0.6852 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.4121/0.5548, allocations: 160.9 MB / 0.8423 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002252/0.5571, allocations: 1.554 MB / 0.8439 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.5572, allocations: 10.28 kB / 0.8439 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.5576, allocations: 110.2 kB / 0.844 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008408/0.5584, allocations: 439.7 kB / 0.8444 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.5598, allocations: 0.6832 MB / 0.8451 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008205/0.5607, allocations: 1.003 MB / 0.846 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002914/0.561, allocations: 213 kB / 0.8462 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003987/0.5614, allocations: 272 kB / 0.8465 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.5616, allocations: 239.4 kB / 0.8467 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.5617, allocations: 13.81 kB / 0.8467 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.5629, allocations: 0.9826 MB / 0.8477 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.563, allocations: 93.05 kB / 0.8478 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.5632, allocations: 174.5 kB / 0.848 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008166/0.564, allocations: 0.769 MB / 0.8487 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.564, allocations: 4 kB / 0.8487 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.753e-06/0.564, allocations: 3.938 kB / 0.8487 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.564, allocations: 0 / 0.8487 GB, free: 0.582 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.0008982/0.5649, allocations: 0.6306 MB / 0.8493 GB, free: 24 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.565, allocations: 8.25 kB / 0.8493 GB, free: 24 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.373e-05/0.5651, allocations: 63.31 kB / 0.8494 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004387/0.5655, allocations: 81.91 kB / 0.8495 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.5658, allocations: 307.1 kB / 0.8498 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.5659, allocations: 16.56 kB / 0.8498 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.513e-05/0.5659, allocations: 24.69 kB / 0.8498 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006219/0.5666, allocations: 347.8 kB / 0.8501 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.5666, allocations: 0 / 0.8501 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.5666, allocations: 8 kB / 0.8502 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.5666, allocations: 9.75 kB / 0.8502 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006936/0.5673, allocations: 325.2 kB / 0.8505 GB, free: 15.27 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.001417/0.5687, allocations: 1.082 MB / 0.8515 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008261/0.5696, allocations: 342.9 kB / 0.8519 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/0.5699, allocations: 153.8 kB / 0.852 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006139/0.5705, allocations: 408.5 kB / 0.8524 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.5706, allocations: 32.88 kB / 0.8524 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 1.312e-06/0.5706, allocations: 0 / 0.8524 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.00117/0.5718, allocations: 465.4 kB / 0.8529 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.5718, allocations: 54.31 kB / 0.8529 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.572, allocations: 266.3 kB / 0.8532 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.5721, allocations: 29.7 kB / 0.8532 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.5722, allocations: 169.9 kB / 0.8534 GB, free: 13 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.979e-05/0.5722, allocations: 69.88 kB / 0.8534 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.5723, allocations: 23.52 kB / 0.8535 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5724, allocations: 339.8 kB / 0.8538 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.5727, allocations: 121.2 kB / 0.8539 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/0.5731, allocations: 178.8 kB / 0.8541 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006311/0.5737, allocations: 305.8 kB / 0.8544 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5737, allocations: 0 / 0.8544 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007354/0.5745, allocations: 346.8 kB / 0.8547 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.5745, allocations: 5.75 kB / 0.8547 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5745, allocations: 128 / 0.8547 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.5745, allocations: 10.09 kB / 0.8547 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.5748, allocations: 65.23 kB / 0.8548 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.5748, allocations: 7.188 kB / 0.8548 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.575, allocations: 52.5 kB / 0.8548 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.5751, allocations: 8.281 kB / 0.8548 GB, free: 12.03 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.0001358/0.5752, allocations: 157 kB / 0.855 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.5753, allocations: 25.47 kB / 0.855 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007774/0.5761, allocations: 348.4 kB / 0.8553 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.5761, allocations: 6.219 kB / 0.8553 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.5761, allocations: 0 / 0.8553 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.5761, allocations: 3.984 kB / 0.8553 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.5775, allocations: 0.9626 MB / 0.8563 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5775, allocations: 7.094 kB / 0.8563 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.5777, allocations: 54.94 kB / 0.8563 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.5778, allocations: 6.031 kB / 0.8563 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.5778, allocations: 5.812 kB / 0.8564 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.5778, allocations: 2.906 kB / 0.8564 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.5778, allocations: 3.984 kB / 0.8564 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.5789, allocations: 0.6093 MB / 0.857 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.579, allocations: 129.4 kB / 0.8571 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.579, allocations: 6.344 kB / 0.8571 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.5793, allocations: 38.17 kB / 0.8571 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.5793, allocations: 32.33 kB / 0.8572 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.5794, allocations: 5.781 kB / 0.8572 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001442/0.5795, allocations: 194.5 kB / 0.8573 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5795, allocations: 3.938 kB / 0.8573 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000397/0.5799, allocations: 106.5 kB / 0.8574 GB, free: 10.13 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.001556/0.5815, allocations: 1.258 MB / 0.8587 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006659/0.5822, allocations: 276 kB / 0.8589 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5822, allocations: 320 / 0.8589 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000349/0.5825, allocations: 156.3 kB / 0.8591 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007632/0.5833, allocations: 134 kB / 0.8592 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.5871, allocations: 3.178 MB / 0.8623 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.5874, allocations: 0.7784 MB / 0.8631 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002263/0.5876, allocations: 66.08 kB / 0.8631 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.5878, allocations: 88.03 kB / 0.8632 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.5878, allocations: 0 / 0.8632 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.533/2.121, allocations: 8.267 MB / 0.8713 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002326/2.121, allocations: 250.1 kB / 0.8715 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/3.937, allocations: 7.094 kB / 0.8715 GB, free: 0.6367 MB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)