Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0009694/0.0009694, allocations: 97.64 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.008215/0.008215, allocations: 169.2 kB / 16.26 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.419/1.419, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.893/2.893, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00043/0.00043, allocations: 13.97 kB / 0.9158 GB, free: 32.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3695, allocations: 162.2 MB / 1.074 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1965/0.5661, allocations: 160.9 MB / 1.231 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00327/0.5694, allocations: 1.547 MB / 1.233 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002185/0.5696, allocations: 7.938 kB / 1.233 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004595/0.5701, allocations: 119.2 kB / 1.233 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.5713, allocations: 438.2 kB / 1.233 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.5733, allocations: 0.6805 MB / 1.234 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001065/0.5744, allocations: 0.9984 MB / 1.235 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003732/0.5747, allocations: 214.2 kB / 1.235 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005855/0.5753, allocations: 274.8 kB / 1.235 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003179/0.5757, allocations: 223.1 kB / 1.236 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.5e-05/0.5757, allocations: 16 kB / 1.236 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.5773, allocations: 0.9859 MB / 1.237 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.5775, allocations: 103.6 kB / 1.237 GB, free: 476 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.5777, allocations: 176.9 kB / 1.237 GB, free: 292 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009794/0.5786, allocations: 0.7595 MB / 1.238 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5787, allocations: 0 / 1.238 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5787, allocations: 0 / 1.238 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.5787, allocations: 0 / 1.238 GB, free: 15.52 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.001105/0.5798, allocations: 0.6352 MB / 1.238 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.5798, allocations: 12.03 kB / 1.238 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004923/0.5803, allocations: 83.5 kB / 1.238 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004904/0.5808, allocations: 301.9 kB / 1.239 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.5809, allocations: 20.56 kB / 1.239 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.002e-05/0.5809, allocations: 20 kB / 1.239 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007945/0.5817, allocations: 356.1 kB / 1.239 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.5817, allocations: 0 / 1.239 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.5818, allocations: 12 kB / 1.239 GB, free: 14 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.5818, allocations: 7.938 kB / 1.239 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007522/0.5826, allocations: 321.5 kB / 1.239 GB, free: 13.68 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.001741/0.5843, allocations: 1.079 MB / 1.24 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009654/0.5853, allocations: 351.6 kB / 1.241 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/0.5857, allocations: 152.8 kB / 1.241 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007065/0.5864, allocations: 404.3 kB / 1.241 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.5864, allocations: 38.56 kB / 1.241 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.733e-06/0.5864, allocations: 0 / 1.241 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.001441/0.5879, allocations: 454.2 kB / 1.242 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.5879, allocations: 55.41 kB / 1.242 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.5882, allocations: 267 kB / 1.242 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.5883, allocations: 29.7 kB / 1.242 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.5884, allocations: 172.2 kB / 1.242 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.384e-05/0.5885, allocations: 70.98 kB / 1.242 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.5885, allocations: 21.66 kB / 1.242 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.5887, allocations: 342.8 kB / 1.243 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/0.589, allocations: 119.9 kB / 1.243 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003941/0.5894, allocations: 177.9 kB / 1.243 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007103/0.5902, allocations: 308 kB / 1.243 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5902, allocations: 0 / 1.243 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007987/0.591, allocations: 345.1 kB / 1.244 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.591, allocations: 4 kB / 1.244 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.591, allocations: 4 kB / 1.244 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.591, allocations: 3.938 kB / 1.244 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.5913, allocations: 68.02 kB / 1.244 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.5913, allocations: 4 kB / 1.244 GB, free: 9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002991/0.5916, allocations: 59.64 kB / 1.244 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.5917, allocations: 4 kB / 1.244 GB, free: 8.938 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.0001741/0.5919, allocations: 157.8 kB / 1.244 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.5919, allocations: 23.72 kB / 1.244 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009016/0.5928, allocations: 349.3 kB / 1.244 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.5929, allocations: 11.88 kB / 1.244 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5929, allocations: 4 kB / 1.244 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5929, allocations: 0 / 1.244 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.5945, allocations: 0.9595 MB / 1.245 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.5945, allocations: 7.938 kB / 1.245 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/0.5948, allocations: 56.08 kB / 1.245 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.5948, allocations: 8 kB / 1.245 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.5949, allocations: 8.047 kB / 1.245 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.5949, allocations: 0 / 1.245 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/0.5949, allocations: 11.92 kB / 1.245 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.5962, allocations: 0.6071 MB / 1.246 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.5963, allocations: 124.8 kB / 1.246 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.5964, allocations: 11.98 kB / 1.246 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.5967, allocations: 32.03 kB / 1.246 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/0.5968, allocations: 27.92 kB / 1.246 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.5968, allocations: 8 kB / 1.246 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000181/0.597, allocations: 197.9 kB / 1.246 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.597, allocations: 0 / 1.246 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004766/0.5975, allocations: 103.8 kB / 1.246 GB, free: 6.086 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.0005126/0.598, allocations: 201.9 kB / 1.247 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008614/0.5989, allocations: 287.9 kB / 1.247 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5989, allocations: 0 / 1.247 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004035/0.5993, allocations: 156.2 kB / 1.247 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008598/0.6001, allocations: 127.7 kB / 1.247 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.6014, allocations: 0.7327 MB / 1.248 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.6019, allocations: 0.7874 MB / 1.249 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002373/0.6021, allocations: 62.27 kB / 1.249 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.021e-05/0.6022, allocations: 27.42 kB / 1.249 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.6022, allocations: 0 / 1.249 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of Templates: time 0.6817/1.284, allocations: 5.555 MB / 1.254 GB, free: 20.93 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)