Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.0008792/0.0008792, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005657/0.005657, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.387/1.387, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.842/2.842, allocations: 473.4 MB / 0.7469 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003914, allocations: 18.09 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3463, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1999/0.5463, allocations: 160.9 MB / 1.231 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003298/0.5496, allocations: 1.555 MB / 1.233 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002777/0.5499, allocations: 11.94 kB / 1.233 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000508/0.5505, allocations: 107.2 kB / 1.233 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.5518, allocations: 442.2 kB / 1.233 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.5539, allocations: 0.6845 MB / 1.234 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001198/0.5551, allocations: 0.9945 MB / 1.235 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004148/0.5555, allocations: 214.2 kB / 1.235 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005734/0.5561, allocations: 278.8 kB / 1.235 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003216/0.5564, allocations: 227.1 kB / 1.236 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.5565, allocations: 16 kB / 1.236 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.5583, allocations: 0.982 MB / 1.237 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.5585, allocations: 103.7 kB / 1.237 GB, free: 432 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.5587, allocations: 172.8 kB / 1.237 GB, free: 252 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.5597, allocations: 0.7673 MB / 1.238 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5598, allocations: 0 / 1.238 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5598, allocations: 0 / 1.238 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.5598, allocations: 0 / 1.238 GB, free: 15.48 MB / 0.9981 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.001142/0.5609, allocations: 0.6352 MB / 1.238 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.561, allocations: 8.031 kB / 1.238 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005088/0.5615, allocations: 87.5 kB / 1.238 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.5619, allocations: 301.8 kB / 1.239 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.562, allocations: 24.56 kB / 1.239 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.292e-05/0.562, allocations: 24 kB / 1.239 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007318/0.5628, allocations: 352.1 kB / 1.239 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.5628, allocations: 4 kB / 1.239 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/0.5628, allocations: 8 kB / 1.239 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.5629, allocations: 11.94 kB / 1.239 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007602/0.5636, allocations: 317.5 kB / 1.239 GB, free: 13.62 MB / 0.9981 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.001664/0.5653, allocations: 1.079 MB / 1.24 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008994/0.5662, allocations: 339.6 kB / 1.241 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/0.5666, allocations: 162.2 kB / 1.241 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006995/0.5673, allocations: 404.3 kB / 1.241 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.5673, allocations: 34.56 kB / 1.241 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.623e-06/0.5673, allocations: 0 / 1.241 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.001313/0.5687, allocations: 458.4 kB / 1.242 GB, free: 11 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.5687, allocations: 55.39 kB / 1.242 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.569, allocations: 267 kB / 1.242 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.5691, allocations: 29.7 kB / 1.242 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.5692, allocations: 168.2 kB / 1.242 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.697e-05/0.5693, allocations: 67 kB / 1.242 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.5693, allocations: 21.72 kB / 1.242 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.5694, allocations: 338.8 kB / 1.243 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003325/0.5698, allocations: 123.8 kB / 1.243 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.5702, allocations: 184.8 kB / 1.243 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006808/0.5709, allocations: 306.1 kB / 1.243 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.5709, allocations: 0 / 1.243 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007973/0.5717, allocations: 342.8 kB / 1.244 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.5717, allocations: 9.875 kB / 1.244 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.5717, allocations: 4.156 kB / 1.244 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.5718, allocations: 7.938 kB / 1.244 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.572, allocations: 63.89 kB / 1.244 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.5721, allocations: 0 / 1.244 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/0.5724, allocations: 59.66 kB / 1.244 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.5724, allocations: 15.98 kB / 1.244 GB, free: 8.887 MB / 0.9981 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.0001635/0.5726, allocations: 145.8 kB / 1.244 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.312e-05/0.5726, allocations: 27.72 kB / 1.244 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008849/0.5735, allocations: 351.6 kB / 1.244 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.5735, allocations: 7.938 kB / 1.244 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5735, allocations: 0 / 1.244 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.5736, allocations: 0 / 1.244 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.5752, allocations: 0.9602 MB / 1.245 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.5752, allocations: 8.188 kB / 1.245 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000284/0.5755, allocations: 55.89 kB / 1.245 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.5755, allocations: 4 kB / 1.245 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.5755, allocations: 8.062 kB / 1.245 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/0.5756, allocations: 8 kB / 1.245 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.5756, allocations: 3.938 kB / 1.245 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.5768, allocations: 0.6071 MB / 1.246 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.577, allocations: 128.8 kB / 1.246 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.577, allocations: 11.98 kB / 1.246 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.5773, allocations: 35.97 kB / 1.246 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.5774, allocations: 23.86 kB / 1.246 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.5774, allocations: 8 kB / 1.246 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001759/0.5776, allocations: 193.9 kB / 1.246 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5776, allocations: 0 / 1.246 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004944/0.5781, allocations: 103.8 kB / 1.246 GB, free: 6.047 MB / 0.9981 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.0004972/0.5786, allocations: 205 kB / 1.247 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007516/0.5794, allocations: 281.5 kB / 1.247 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.5794, allocations: 4 kB / 1.247 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.5798, allocations: 159.7 kB / 1.247 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008851/0.5807, allocations: 121.1 kB / 1.247 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.5819, allocations: 0.7405 MB / 1.248 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.5824, allocations: 0.7913 MB / 1.249 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002535/0.5826, allocations: 62.25 kB / 1.249 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.557e-05/0.5827, allocations: 27.42 kB / 1.249 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/0.5827, allocations: 0 / 1.249 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of Templates: time 0.6979/1.281, allocations: 5.551 MB / 1.254 GB, free: 20.61 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)