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.001278/0.001278, allocations: 104 kB / 16.4 MB, free: 6 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.001266/0.001266, allocations: 197.1 kB / 17.34 MB, free: 5.582 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8212/0.8212, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 66.88 kB / 0.5736 GB, free: 27.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1591, allocations: 78.86 MB / 0.6506 GB, free: 3.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.RelativeHumidity): time 0.5129/0.672, allocations: 165.3 MB / 0.812 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002665/0.6747, allocations: 1.554 MB / 0.8135 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003009/0.6751, allocations: 12.31 kB / 0.8135 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004551/0.6755, allocations: 148.5 kB / 0.8136 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.6768, allocations: 465.3 kB / 0.8141 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.6786, allocations: 0.7563 MB / 0.8148 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007662/0.6794, allocations: 0.6942 MB / 0.8155 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003893/0.6798, allocations: 265.1 kB / 0.8157 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009005/0.6807, allocations: 459.4 kB / 0.8162 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/0.681, allocations: 219.7 kB / 0.8164 GB, free: 10 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.681, allocations: 22.69 kB / 0.8164 GB, free: 10 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.6825, allocations: 0.8547 MB / 0.8173 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.6827, allocations: 118.7 kB / 0.8174 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.6829, allocations: 161.9 kB / 0.8175 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.6839, allocations: 0.7418 MB / 0.8182 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.684, allocations: 4 kB / 0.8182 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.613e-06/0.684, allocations: 0 / 0.8182 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.684, allocations: 0 / 0.8182 GB, free: 9.391 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.00113/0.6851, allocations: 0.693 MB / 0.8189 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.6852, allocations: 10.22 kB / 0.8189 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.895e-05/0.6852, allocations: 58.23 kB / 0.819 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004536/0.6857, allocations: 86.78 kB / 0.8191 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.6861, allocations: 314.3 kB / 0.8194 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.6862, allocations: 17.81 kB / 0.8194 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.333e-05/0.6862, allocations: 25.31 kB / 0.8194 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000688/0.6869, allocations: 327.4 kB / 0.8197 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.6869, allocations: 3.938 kB / 0.8197 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/0.687, allocations: 14.34 kB / 0.8197 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.687, allocations: 7.438 kB / 0.8198 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007149/0.6877, allocations: 291.1 kB / 0.82 GB, free: 8.121 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.001621/0.6893, allocations: 1.068 MB / 0.8211 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008886/0.6902, allocations: 319.8 kB / 0.8214 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.6906, allocations: 135.1 kB / 0.8215 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006964/0.6913, allocations: 400.1 kB / 0.8219 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.6913, allocations: 38.56 kB / 0.8219 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=19): time 1.462e-06/0.6913, allocations: 2.906 kB / 0.8219 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001197/0.6925, allocations: 408.7 kB / 0.8223 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.6926, allocations: 54.44 kB / 0.8224 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.6929, allocations: 262.7 kB / 0.8226 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.6929, allocations: 28.17 kB / 0.8226 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.693, allocations: 171.8 kB / 0.8228 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.051e-05/0.6931, allocations: 67.05 kB / 0.8229 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-05/0.6932, allocations: 51.2 kB / 0.8229 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.6934, allocations: 333.7 kB / 0.8232 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.6937, allocations: 108.5 kB / 0.8233 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003505/0.694, allocations: 161 kB / 0.8235 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000626/0.6947, allocations: 274.1 kB / 0.8238 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6947, allocations: 0 / 0.8238 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007258/0.6954, allocations: 318.5 kB / 0.8241 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.6954, allocations: 12.66 kB / 0.8241 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.6954, allocations: 0 / 0.8241 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.6955, allocations: 3.156 kB / 0.8241 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.6957, allocations: 60.14 kB / 0.8241 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.6957, allocations: 2 kB / 0.8241 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.696, allocations: 39.36 kB / 0.8242 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.696, allocations: 10.97 kB / 0.8242 GB, free: 4.922 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.0001569/0.6962, allocations: 156.1 kB / 0.8243 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.6962, allocations: 34.84 kB / 0.8244 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007846/0.697, allocations: 313.7 kB / 0.8247 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.697, allocations: 10.16 kB / 0.8247 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.6971, allocations: 3.938 kB / 0.8247 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.6971, allocations: 0 / 0.8247 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.6986, allocations: 0.9292 MB / 0.8256 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6986, allocations: 6.656 kB / 0.8256 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.6989, allocations: 47.2 kB / 0.8256 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.6989, allocations: 6.906 kB / 0.8256 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.6989, allocations: 10.12 kB / 0.8257 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.6989, allocations: 2.875 kB / 0.8257 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.6989, allocations: 5.719 kB / 0.8257 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.7, allocations: 0.5529 MB / 0.8262 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.7001, allocations: 128.7 kB / 0.8263 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.7002, allocations: 6.141 kB / 0.8263 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.7004, allocations: 24.58 kB / 0.8264 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/0.7005, allocations: 27.53 kB / 0.8264 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.7005, allocations: 10.88 kB / 0.8264 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001703/0.7007, allocations: 188.1 kB / 0.8266 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7007, allocations: 0 / 0.8266 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004173/0.7011, allocations: 116.7 kB / 0.8267 GB, free: 3.043 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.001729/0.7028, allocations: 1.192 MB / 0.8278 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000702/0.7036, allocations: 256.7 kB / 0.8281 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7036, allocations: 2.562 kB / 0.8281 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003438/0.7039, allocations: 135.3 kB / 0.8282 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007166/0.7046, allocations: 142 kB / 0.8284 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004166/0.7088, allocations: 2.985 MB / 0.8313 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.7092, allocations: 0.7773 MB / 0.832 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002177/0.7095, allocations: 69.44 kB / 0.8321 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.7096, allocations: 92.31 kB / 0.8322 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.7096, allocations: 0 / 0.8322 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/0.7411, allocations: 8.939 MB / 0.8409 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.01/8.751, allocations: 8.812 kB / 0.8409 GB, free: 10.3 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)