Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008063/0.0008061, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008163/0.0008164, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.726/1.726, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005471/0.0005472, allocations: 14.41 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2688, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.6808/0.9496, allocations: 150.1 MB / 0.9339 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003085/0.9528, allocations: 1.473 MB / 0.9353 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003863/0.9532, allocations: 10.44 kB / 0.9353 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005476/0.9537, allocations: 104.7 kB / 0.9354 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.9551, allocations: 356.1 kB / 0.9358 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.9571, allocations: 0.5643 MB / 0.9363 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009514/0.9581, allocations: 0.8336 MB / 0.9371 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003474/0.9585, allocations: 193.2 kB / 0.9373 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005492/0.959, allocations: 274.5 kB / 0.9376 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.9593, allocations: 219.2 kB / 0.9378 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.888e-05/0.9593, allocations: 18.69 kB / 0.9378 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.9606, allocations: 0.5425 MB / 0.9383 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.9607, allocations: 100 kB / 0.9384 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003755/0.9611, allocations: 81.42 kB / 0.9385 GB, free: 21.62 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006499/0.9618, allocations: 466.1 kB / 0.9389 GB, free: 21.58 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.9618, allocations: 0 / 0.9389 GB, free: 21.58 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9618, allocations: 0 / 0.9389 GB, free: 21.58 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.9618, allocations: 3.188 kB / 0.9389 GB, free: 21.58 MB / 0.7325 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.001125/0.9629, allocations: 0.638 MB / 0.9396 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.963, allocations: 9.594 kB / 0.9396 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005231/0.9635, allocations: 84.42 kB / 0.9397 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005287/0.9641, allocations: 296.7 kB / 0.9399 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.9641, allocations: 15.25 kB / 0.94 GB, free: 20.85 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.614e-05/0.9642, allocations: 25.56 kB / 0.94 GB, free: 20.85 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007973/0.965, allocations: 344.9 kB / 0.9403 GB, free: 20.79 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.965, allocations: 6.422 kB / 0.9403 GB, free: 20.79 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.324e-05/0.965, allocations: 8.969 kB / 0.9403 GB, free: 20.79 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.9651, allocations: 10.03 kB / 0.9403 GB, free: 20.78 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008965/0.966, allocations: 314.9 kB / 0.9406 GB, free: 20.78 MB / 0.7325 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.002077/0.9681, allocations: 1.086 MB / 0.9417 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009505/0.969, allocations: 336.2 kB / 0.942 GB, free: 20.13 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003752/0.9694, allocations: 153.2 kB / 0.9422 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007241/0.9701, allocations: 405.3 kB / 0.9425 GB, free: 19.74 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.9702, allocations: 40.7 kB / 0.9426 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.863e-06/0.9702, allocations: 0.9375 kB / 0.9426 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.001311/0.9715, allocations: 449.3 kB / 0.943 GB, free: 19.64 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.9716, allocations: 59.55 kB / 0.9431 GB, free: 19.58 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/0.9719, allocations: 264 kB / 0.9433 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.972, allocations: 30.23 kB / 0.9433 GB, free: 19.44 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.9721, allocations: 171.5 kB / 0.9435 GB, free: 19.33 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.956e-05/0.9722, allocations: 66.86 kB / 0.9436 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.432e-05/0.9722, allocations: 4.219 kB / 0.9436 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.9724, allocations: 336.5 kB / 0.9439 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.9727, allocations: 122.3 kB / 0.944 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004149/0.9731, allocations: 180.6 kB / 0.9442 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004142/0.9735, allocations: 137.7 kB / 0.9443 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.9735, allocations: 0.7812 kB / 0.9443 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000954/0.9745, allocations: 347.7 kB / 0.9447 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.9745, allocations: 5.531 kB / 0.9447 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.9746, allocations: 1.812 kB / 0.9447 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.9746, allocations: 4.125 kB / 0.9447 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.9749, allocations: 67.73 kB / 0.9447 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/0.975, allocations: 12.47 kB / 0.9447 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.9753, allocations: 47.02 kB / 0.9448 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.9753, allocations: 14.47 kB / 0.9448 GB, free: 18.83 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002028/0.9755, allocations: 160.5 kB / 0.945 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.9756, allocations: 24.31 kB / 0.945 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009411/0.9766, allocations: 350.8 kB / 0.9453 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.9766, allocations: 2.562 kB / 0.9453 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.9766, allocations: 4 kB / 0.9453 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.9766, allocations: 0.5312 kB / 0.9453 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.9782, allocations: 0.9563 MB / 0.9463 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.9783, allocations: 2.156 kB / 0.9463 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.9785, allocations: 66.89 kB / 0.9463 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.9785, allocations: 2.875 kB / 0.9463 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.9786, allocations: 7.953 kB / 0.9463 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.9786, allocations: 4.938 kB / 0.9463 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.9786, allocations: 7.969 kB / 0.9463 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.9797, allocations: 0.601 MB / 0.9469 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.9799, allocations: 128.5 kB / 0.947 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.649e-05/0.9799, allocations: 2.969 kB / 0.9471 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.9802, allocations: 46.67 kB / 0.9471 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.182e-05/0.9803, allocations: 19.91 kB / 0.9471 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.9803, allocations: 6.812 kB / 0.9471 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002284/0.9805, allocations: 191.2 kB / 0.9473 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9805, allocations: 0 / 0.9473 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006027/0.9811, allocations: 113.1 kB / 0.9474 GB, free: 17.68 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004999/0.9816, allocations: 197.9 kB / 0.9476 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007582/0.9824, allocations: 285 kB / 0.9479 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.9824, allocations: 1.281 kB / 0.9479 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003733/0.9828, allocations: 154.4 kB / 0.948 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007558/0.9836, allocations: 131.6 kB / 0.9481 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.985, allocations: 0.7209 MB / 0.9489 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005942/0.9856, allocations: 0.7811 MB / 0.9496 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002587/0.9858, allocations: 64.34 kB / 0.9497 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.879e-05/0.9859, allocations: 27.48 kB / 0.9497 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.9859, allocations: 0 / 0.9497 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of Templates: time 0.01069/0.9966, allocations: 5.399 MB / 0.955 GB, free: 16.04 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) Environment - environmentSimulation: