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: translateModel(IBPSA.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity") translateModel(IBPSA.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 114.1 kB / 17.08 MB, free: 6.012 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.001319/0.001319, allocations: 192.1 kB / 18.02 MB, free: 5.09 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.511/1.511, allocations: 222.9 MB / 241.7 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.864/0.864, allocations: 126.3 MB / 418.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 61.2 kB / 0.5742 GB, free: 27.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1583, allocations: 78.79 MB / 0.6511 GB, free: 3.672 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.RelativeHumidity): time 0.6006/0.7589, allocations: 165.3 MB / 0.8125 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002963/0.7619, allocations: 1.558 MB / 0.8141 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004226/0.7623, allocations: 11.91 kB / 0.8141 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005044/0.7628, allocations: 151.7 kB / 0.8142 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.7642, allocations: 481.8 kB / 0.8147 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002083/0.7663, allocations: 0.7643 MB / 0.8154 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008391/0.7672, allocations: 0.7067 MB / 0.8161 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003944/0.7676, allocations: 267.9 kB / 0.8164 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009294/0.7685, allocations: 469.1 kB / 0.8168 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.7688, allocations: 225.8 kB / 0.817 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.894e-05/0.7688, allocations: 27.88 kB / 0.817 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/0.7704, allocations: 0.8524 MB / 0.8179 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.7705, allocations: 115 kB / 0.818 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.7707, allocations: 161.1 kB / 0.8181 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.7718, allocations: 0.74 MB / 0.8189 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7719, allocations: 2.75 kB / 0.8189 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7719, allocations: 0 / 0.8189 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.7719, allocations: 0 / 0.8189 GB, free: 9.695 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.001181/0.7731, allocations: 0.6882 MB / 0.8195 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.7731, allocations: 10.09 kB / 0.8196 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004799/0.7736, allocations: 87.2 kB / 0.8196 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000452/0.7741, allocations: 323.8 kB / 0.8199 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.7741, allocations: 14.53 kB / 0.82 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.028e-05/0.7741, allocations: 22.81 kB / 0.82 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006677/0.7748, allocations: 332.1 kB / 0.8203 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.7748, allocations: 2.281 kB / 0.8203 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.7749, allocations: 14.44 kB / 0.8203 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.7749, allocations: 5.125 kB / 0.8203 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007223/0.7756, allocations: 291 kB / 0.8206 GB, free: 8.418 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.001742/0.7774, allocations: 1.06 MB / 0.8216 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009199/0.7783, allocations: 327.8 kB / 0.8219 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004022/0.7787, allocations: 131.1 kB / 0.8221 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007337/0.7795, allocations: 399.8 kB / 0.8224 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.7795, allocations: 32.97 kB / 0.8225 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.7795, allocations: 3.938 kB / 0.8225 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001316/0.7808, allocations: 412.8 kB / 0.8229 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.7809, allocations: 54.44 kB / 0.8229 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.7812, allocations: 265.2 kB / 0.8232 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.7813, allocations: 33.64 kB / 0.8232 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.7814, allocations: 171.7 kB / 0.8234 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.7815, allocations: 71.03 kB / 0.8234 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.745e-05/0.7816, allocations: 43.27 kB / 0.8235 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.7818, allocations: 337.7 kB / 0.8238 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.7821, allocations: 103.6 kB / 0.8239 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/0.7825, allocations: 165 kB / 0.8241 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006381/0.7832, allocations: 270.6 kB / 0.8243 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.7832, allocations: 0 / 0.8243 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007743/0.784, allocations: 320.3 kB / 0.8246 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.784, allocations: 6.625 kB / 0.8246 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.784, allocations: 5.906 kB / 0.8246 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.7841, allocations: 3.219 kB / 0.8246 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.7843, allocations: 60.92 kB / 0.8247 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.7844, allocations: 6.75 kB / 0.8247 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.7846, allocations: 37.38 kB / 0.8247 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.7847, allocations: 10.84 kB / 0.8248 GB, free: 5.215 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.0001806/0.7849, allocations: 155.4 kB / 0.8249 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.241e-05/0.7849, allocations: 24.23 kB / 0.8249 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008361/0.7858, allocations: 331.1 kB / 0.8252 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.7858, allocations: 2.125 kB / 0.8252 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.7858, allocations: 0 / 0.8252 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.7858, allocations: 0 / 0.8252 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/0.7875, allocations: 0.9332 MB / 0.8262 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.7875, allocations: 6.875 kB / 0.8262 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.7877, allocations: 51.19 kB / 0.8262 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.7878, allocations: 6.703 kB / 0.8262 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.7878, allocations: 2.125 kB / 0.8262 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.7878, allocations: 2.938 kB / 0.8262 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.7878, allocations: 1.781 kB / 0.8262 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.789, allocations: 0.5631 MB / 0.8268 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.7892, allocations: 127.8 kB / 0.8269 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/0.7892, allocations: 6.891 kB / 0.8269 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.7895, allocations: 32.2 kB / 0.8269 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.602e-05/0.7896, allocations: 23.8 kB / 0.827 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.7896, allocations: 11.48 kB / 0.827 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001987/0.7898, allocations: 191.6 kB / 0.8271 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7898, allocations: 0 / 0.8271 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005318/0.7903, allocations: 110.4 kB / 0.8273 GB, free: 3.344 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.0005459/0.7909, allocations: 197 kB / 0.8274 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007668/0.7917, allocations: 256.2 kB / 0.8277 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.7917, allocations: 0 / 0.8277 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000376/0.7921, allocations: 141.8 kB / 0.8278 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007885/0.7929, allocations: 131.9 kB / 0.8279 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.7941, allocations: 0.6064 MB / 0.8285 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.7945, allocations: 0.7811 MB / 0.8293 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002219/0.7947, allocations: 69.45 kB / 0.8294 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.273e-05/0.7948, allocations: 25.19 kB / 0.8294 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.7948, allocations: 0 / 0.8294 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of Templates: time 0.01221/0.807, allocations: 6 MB / 0.8353 GB, free: 14.77 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)