Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="IBPSA_latest_IBPSA_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.001617/0.001617, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001884/0.001885, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7592/0.7592, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 68.05 kB / 0.568 GB, free: 28.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1413, allocations: 77.93 MB / 0.6441 GB, free: 9.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.RelativeHumidity): time 0.5063/0.6476, allocations: 165.3 MB / 0.8054 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002401/0.6501, allocations: 1.548 MB / 0.807 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.6503, allocations: 14.38 kB / 0.807 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004207/0.6507, allocations: 147 kB / 0.8071 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001052/0.6518, allocations: 485.7 kB / 0.8076 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.6534, allocations: 0.7777 MB / 0.8083 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005783/0.654, allocations: 0.7021 MB / 0.809 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003237/0.6543, allocations: 263.4 kB / 0.8093 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000427/0.6547, allocations: 316.4 kB / 0.8096 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.655, allocations: 229.2 kB / 0.8098 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.655, allocations: 22.91 kB / 0.8098 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.6562, allocations: 0.8787 MB / 0.8107 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.6563, allocations: 110.5 kB / 0.8108 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.6565, allocations: 153.6 kB / 0.8109 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008937/0.6574, allocations: 0.7485 MB / 0.8117 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6574, allocations: 0 / 0.8117 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6574, allocations: 0 / 0.8117 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.6574, allocations: 0 / 0.8117 GB, free: 10.58 MB / 0.5919 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.00105/0.6585, allocations: 0.686 MB / 0.8123 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.6585, allocations: 10.75 kB / 0.8123 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.833e-05/0.6586, allocations: 59.98 kB / 0.8124 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004624/0.6591, allocations: 94.28 kB / 0.8125 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004227/0.6595, allocations: 316.1 kB / 0.8128 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.6595, allocations: 20.94 kB / 0.8128 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.6596, allocations: 21.44 kB / 0.8128 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000606/0.6602, allocations: 331.1 kB / 0.8131 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.6602, allocations: 0 / 0.8131 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.6602, allocations: 9.312 kB / 0.8131 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.6602, allocations: 11.56 kB / 0.8132 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006564/0.6609, allocations: 285.1 kB / 0.8134 GB, free: 9.465 MB / 0.5919 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.001465/0.6624, allocations: 1.064 MB / 0.8145 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000841/0.6632, allocations: 329.1 kB / 0.8148 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003319/0.6636, allocations: 133.9 kB / 0.8149 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006444/0.6642, allocations: 396.8 kB / 0.8153 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.6643, allocations: 33.88 kB / 0.8153 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=19): time 1.323e-06/0.6643, allocations: 0 / 0.8153 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.00116/0.6654, allocations: 411.7 kB / 0.8157 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.6655, allocations: 53.81 kB / 0.8158 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.6657, allocations: 270.1 kB / 0.816 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.6658, allocations: 29.08 kB / 0.8161 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.6659, allocations: 172.8 kB / 0.8162 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.263e-05/0.6659, allocations: 70.81 kB / 0.8163 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.452e-05/0.666, allocations: 44.8 kB / 0.8163 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.6661, allocations: 334 kB / 0.8166 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/0.6664, allocations: 107.9 kB / 0.8167 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/0.6668, allocations: 156.6 kB / 0.8169 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005859/0.6674, allocations: 275.7 kB / 0.8172 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6674, allocations: 4.75 kB / 0.8172 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006802/0.6681, allocations: 316.6 kB / 0.8175 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.6681, allocations: 6.938 kB / 0.8175 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.6681, allocations: 160 / 0.8175 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.6681, allocations: 12.44 kB / 0.8175 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.6684, allocations: 52.39 kB / 0.8175 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.6684, allocations: 6.469 kB / 0.8175 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.6686, allocations: 46.25 kB / 0.8176 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.6687, allocations: 14.61 kB / 0.8176 GB, free: 6.879 MB / 0.5919 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.0001266/0.6688, allocations: 148.2 kB / 0.8177 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.206e-05/0.6689, allocations: 28.36 kB / 0.8178 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007416/0.6696, allocations: 319.6 kB / 0.8181 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.6696, allocations: 7.875 kB / 0.8181 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6696, allocations: 2.312 kB / 0.8181 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.6696, allocations: 0 / 0.8181 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.6711, allocations: 0.9358 MB / 0.819 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.6711, allocations: 2.594 kB / 0.819 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.6714, allocations: 50.95 kB / 0.819 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.6714, allocations: 2.844 kB / 0.8191 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.6714, allocations: 6.719 kB / 0.8191 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.6714, allocations: 5.062 kB / 0.8191 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6714, allocations: 4.188 kB / 0.8191 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.6725, allocations: 0.5586 MB / 0.8196 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.6726, allocations: 125.7 kB / 0.8197 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/0.6727, allocations: 9.062 kB / 0.8197 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.6729, allocations: 25.81 kB / 0.8198 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.673, allocations: 26.25 kB / 0.8198 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.673, allocations: 7.25 kB / 0.8198 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001487/0.6732, allocations: 191.5 kB / 0.82 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6732, allocations: 0 / 0.82 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004011/0.6736, allocations: 108.4 kB / 0.8201 GB, free: 5.148 MB / 0.5919 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.001691/0.6753, allocations: 1.205 MB / 0.8213 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006844/0.676, allocations: 257.2 kB / 0.8215 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.676, allocations: 2.594 kB / 0.8215 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003277/0.6763, allocations: 135.4 kB / 0.8216 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007028/0.677, allocations: 135.3 kB / 0.8218 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003832/0.6809, allocations: 2.983 MB / 0.8247 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.6812, allocations: 0.7724 MB / 0.8254 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001984/0.6814, allocations: 65.59 kB / 0.8255 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.6815, allocations: 91.09 kB / 0.8256 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.6815, allocations: 0 / 0.8256 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.7091, allocations: 8.939 MB / 0.8343 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.7/8.409, allocations: 10.3 kB / 0.8343 GB, free: 12.41 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_RelativeHumidity.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)