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.004731/0.004731, allocations: 100.8 kB / 15.87 MB, free: 6.312 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.001133/0.001133, allocations: 197.4 kB / 16.79 MB, free: 6.242 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: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6594/0.6594, allocations: 115.3 MB / 405.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 60.56 kB / 493 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1408, allocations: 76.19 MB / 0.5558 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.RelativeHumidity): time 0.4193/0.5601, allocations: 163 MB / 0.715 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002674/0.5628, allocations: 1.576 MB / 0.7166 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003105/0.5632, allocations: 11.94 kB / 0.7166 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004447/0.5636, allocations: 111.2 kB / 0.7167 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.5648, allocations: 450.2 kB / 0.7171 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.5664, allocations: 0.6954 MB / 0.7178 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0009414/0.5674, allocations: 0.9828 MB / 0.7187 GB, free: 124 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000401/0.5678, allocations: 230.1 kB / 0.719 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005358/0.5683, allocations: 278.9 kB / 0.7192 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003432/0.5687, allocations: 239 kB / 0.7195 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.442e-05/0.5688, allocations: 16 kB / 0.7195 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.5703, allocations: 0.9859 MB / 0.7204 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.5705, allocations: 103.7 kB / 0.7205 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.5706, allocations: 151.2 kB / 0.7207 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.5718, allocations: 0.7674 MB / 0.7214 GB, free: 13.37 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.5719, allocations: 0 / 0.7214 GB, free: 13.37 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.42e-07/0.5719, allocations: 0 / 0.7214 GB, free: 13.37 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.5719, allocations: 0 / 0.7214 GB, free: 13.37 MB / 0.545 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.001232/0.5731, allocations: 0.6826 MB / 0.7221 GB, free: 12.63 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.5732, allocations: 11.97 kB / 0.7221 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.191e-05/0.5733, allocations: 54.55 kB / 0.7222 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005444/0.5738, allocations: 83.5 kB / 0.7222 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.5742, allocations: 309.8 kB / 0.7225 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.5742, allocations: 20.56 kB / 0.7226 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.616e-05/0.5743, allocations: 24 kB / 0.7226 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006664/0.575, allocations: 332.2 kB / 0.7229 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.575, allocations: 0 / 0.7229 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.575, allocations: 7.984 kB / 0.7229 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.575, allocations: 15.94 kB / 0.7229 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007077/0.5758, allocations: 281.5 kB / 0.7232 GB, free: 11.46 MB / 0.545 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.001618/0.5774, allocations: 1.067 MB / 0.7242 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009097/0.5783, allocations: 323.7 kB / 0.7245 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003184/0.5786, allocations: 132.8 kB / 0.7247 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006648/0.5793, allocations: 396.3 kB / 0.725 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.5793, allocations: 42.5 kB / 0.7251 GB, free: 9.336 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/0.5793, allocations: 0 / 0.7251 GB, free: 9.336 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001163/0.5805, allocations: 410.5 kB / 0.7255 GB, free: 8.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.5806, allocations: 51.41 kB / 0.7255 GB, free: 8.867 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.5808, allocations: 267 kB / 0.7258 GB, free: 8.605 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.5808, allocations: 29.7 kB / 0.7258 GB, free: 8.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.5809, allocations: 172.2 kB / 0.726 GB, free: 8.398 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.432e-05/0.581, allocations: 67.02 kB / 0.726 GB, free: 8.332 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.428e-05/0.5811, allocations: 41.7 kB / 0.7261 GB, free: 8.285 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.5812, allocations: 338.8 kB / 0.7264 GB, free: 7.945 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.5815, allocations: 99.91 kB / 0.7265 GB, free: 7.848 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/0.5818, allocations: 173.1 kB / 0.7267 GB, free: 7.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005975/0.5825, allocations: 266.8 kB / 0.7269 GB, free: 7.383 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5825, allocations: 0 / 0.7269 GB, free: 7.383 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007075/0.5832, allocations: 315.5 kB / 0.7272 GB, free: 7.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.5832, allocations: 4 kB / 0.7272 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5832, allocations: 4 kB / 0.7272 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.5832, allocations: 3.938 kB / 0.7272 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.5835, allocations: 64.05 kB / 0.7273 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.5835, allocations: 0 / 0.7273 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.5838, allocations: 47.7 kB / 0.7273 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.5839, allocations: 12.5 kB / 0.7273 GB, free: 6.938 MB / 0.545 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.0001401/0.584, allocations: 153.7 kB / 0.7275 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/0.5841, allocations: 27.72 kB / 0.7275 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007483/0.5848, allocations: 315.6 kB / 0.7278 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.5848, allocations: 7.938 kB / 0.7278 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5848, allocations: 0 / 0.7278 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.5849, allocations: 4 kB / 0.7278 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.5863, allocations: 0.9329 MB / 0.7287 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.5863, allocations: 0 / 0.7287 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.5866, allocations: 51.89 kB / 0.7288 GB, free: 5.332 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.5866, allocations: 4 kB / 0.7288 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.5866, allocations: 8 kB / 0.7288 GB, free: 5.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.5866, allocations: 4.188 kB / 0.7288 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.5867, allocations: 4.703 kB / 0.7288 GB, free: 5.312 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.5877, allocations: 0.5564 MB / 0.7293 GB, free: 4.723 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.5878, allocations: 120.8 kB / 0.7295 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.727e-05/0.5879, allocations: 15.92 kB / 0.7295 GB, free: 4.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.5882, allocations: 35.97 kB / 0.7295 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.407e-05/0.5882, allocations: 19.86 kB / 0.7295 GB, free: 4.516 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.5883, allocations: 8 kB / 0.7295 GB, free: 4.508 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001716/0.5884, allocations: 193.9 kB / 0.7297 GB, free: 4.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5884, allocations: 0 / 0.7297 GB, free: 4.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000444/0.5889, allocations: 111.8 kB / 0.7298 GB, free: 4.211 MB / 0.545 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.001635/0.5905, allocations: 1.202 MB / 0.731 GB, free: 2.977 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006983/0.5912, allocations: 251.9 kB / 0.7312 GB, free: 2.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5913, allocations: 0 / 0.7312 GB, free: 2.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003638/0.5916, allocations: 135.8 kB / 0.7314 GB, free: 2.598 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007518/0.5924, allocations: 125.6 kB / 0.7315 GB, free: 2.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004298/0.5967, allocations: 3.065 MB / 0.7345 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.5971, allocations: 0.7831 MB / 0.7353 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002728/0.5974, allocations: 63.09 kB / 0.7353 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.5975, allocations: 87.41 kB / 0.7354 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.5975, allocations: 4 kB / 0.7354 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.6181, allocations: 8.374 MB / 0.7436 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/0.6183, allocations: 237.3 kB / 0.7438 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.101/2.72, allocations: 7.125 kB / 0.7438 GB, free: 5.852 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_RelativeHumidity.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)