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.001387/0.001387, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001487/0.001487, allocations: 187.9 kB / 17.19 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.76/1.76, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001446/0.001446, allocations: 71.91 kB / 0.6722 GB, free: 6.484 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2642, allocations: 114.5 MB / 0.784 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.6763/0.9406, allocations: 165.3 MB / 0.9454 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00311/0.9437, allocations: 1.56 MB / 0.9469 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000347/0.9441, allocations: 7.938 kB / 0.9469 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005168/0.9446, allocations: 142.9 kB / 0.9471 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.946, allocations: 465.9 kB / 0.9475 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.9481, allocations: 0.7546 MB / 0.9483 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009308/0.949, allocations: 0.7059 MB / 0.9489 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004552/0.9495, allocations: 266.6 kB / 0.9492 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005499/0.95, allocations: 310.8 kB / 0.9495 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002878/0.9503, allocations: 223.1 kB / 0.9497 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.358e-05/0.9504, allocations: 24 kB / 0.9497 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.9521, allocations: 0.8671 MB / 0.9506 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.9523, allocations: 107.8 kB / 0.9507 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.9525, allocations: 159.2 kB / 0.9508 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.9536, allocations: 0.7403 MB / 0.9516 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.9536, allocations: 4 kB / 0.9516 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9536, allocations: 0 / 0.9516 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.9536, allocations: 0 / 0.9516 GB, free: 14.93 MB / 0.7481 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.001208/0.9548, allocations: 0.673 MB / 0.9522 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.9549, allocations: 8.031 kB / 0.9522 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005233/0.9554, allocations: 95.48 kB / 0.9523 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/0.9558, allocations: 301.8 kB / 0.9526 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.9558, allocations: 16.56 kB / 0.9526 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.174e-05/0.9559, allocations: 24 kB / 0.9526 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006444/0.9566, allocations: 332.2 kB / 0.953 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.9566, allocations: 0 / 0.953 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.9566, allocations: 12 kB / 0.953 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.9566, allocations: 7.938 kB / 0.953 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000698/0.9573, allocations: 289.5 kB / 0.9533 GB, free: 13.1 MB / 0.7481 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.001756/0.9591, allocations: 1.075 MB / 0.9543 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008928/0.96, allocations: 319.7 kB / 0.9546 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/0.9603, allocations: 136.7 kB / 0.9547 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006901/0.961, allocations: 396.3 kB / 0.9551 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.9611, allocations: 44.06 kB / 0.9552 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 1.713e-06/0.9611, allocations: 0 / 0.9552 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.001259/0.9624, allocations: 397 kB / 0.9555 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/0.9624, allocations: 63.34 kB / 0.9556 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/0.9627, allocations: 267 kB / 0.9559 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.9628, allocations: 25.7 kB / 0.9559 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.963, allocations: 176.1 kB / 0.956 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.605e-05/0.963, allocations: 63.02 kB / 0.9561 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.9632, allocations: 45.7 kB / 0.9562 GB, free: 9.91 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.9634, allocations: 338.8 kB / 0.9565 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/0.9637, allocations: 104.4 kB / 0.9566 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/0.9641, allocations: 163.9 kB / 0.9567 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006918/0.9648, allocations: 271.1 kB / 0.957 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.9648, allocations: 0 / 0.957 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007646/0.9656, allocations: 324.1 kB / 0.9573 GB, free: 8.688 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.9656, allocations: 4 kB / 0.9573 GB, free: 8.684 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.9657, allocations: 5.406 kB / 0.9573 GB, free: 8.68 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.9657, allocations: 0 / 0.9573 GB, free: 8.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.966, allocations: 63.83 kB / 0.9574 GB, free: 8.617 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.966, allocations: 0 / 0.9574 GB, free: 8.617 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.9662, allocations: 43.88 kB / 0.9574 GB, free: 8.574 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.9663, allocations: 8 kB / 0.9574 GB, free: 8.566 MB / 0.7481 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.000164/0.9664, allocations: 157.8 kB / 0.9576 GB, free: 8.402 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.9665, allocations: 27.62 kB / 0.9576 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009984/0.9675, allocations: 311.1 kB / 0.9579 GB, free: 8.062 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.9675, allocations: 3.938 kB / 0.9579 GB, free: 8.059 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.9675, allocations: 3.984 kB / 0.9579 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.9676, allocations: 0 / 0.9579 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.9694, allocations: 0.9434 MB / 0.9588 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.9694, allocations: 4 kB / 0.9588 GB, free: 7.004 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.9697, allocations: 48.09 kB / 0.9589 GB, free: 6.957 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.9697, allocations: 4.75 kB / 0.9589 GB, free: 6.953 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.9698, allocations: 8 kB / 0.9589 GB, free: 6.945 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.9698, allocations: 7.984 kB / 0.9589 GB, free: 6.938 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.9698, allocations: 1.312 kB / 0.9589 GB, free: 6.938 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.9711, allocations: 0.5586 MB / 0.9594 GB, free: 6.344 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002344/0.9713, allocations: 120.7 kB / 0.9595 GB, free: 6.207 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.934e-05/0.9714, allocations: 8 kB / 0.9596 GB, free: 6.199 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.9716, allocations: 19.97 kB / 0.9596 GB, free: 6.18 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/0.9717, allocations: 25.27 kB / 0.9596 GB, free: 6.156 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.9717, allocations: 12 kB / 0.9596 GB, free: 6.145 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002412/0.972, allocations: 198 kB / 0.9598 GB, free: 5.953 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.972, allocations: 0 / 0.9598 GB, free: 5.953 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004982/0.9725, allocations: 99.84 kB / 0.9599 GB, free: 5.855 MB / 0.7481 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.0006728/0.9732, allocations: 207.5 kB / 0.9601 GB, free: 5.656 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007918/0.974, allocations: 267.7 kB / 0.9603 GB, free: 5.395 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.974, allocations: 0 / 0.9603 GB, free: 5.395 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003579/0.9744, allocations: 141.1 kB / 0.9605 GB, free: 5.258 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007652/0.9751, allocations: 126.6 kB / 0.9606 GB, free: 5.152 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.9765, allocations: 0.6371 MB / 0.9612 GB, free: 4.469 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004693/0.977, allocations: 0.7794 MB / 0.962 GB, free: 3.664 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.354e-05/0.9771, allocations: 31.44 kB / 0.962 GB, free: 3.633 MB / 0.7481 GB Notification: Performance of SimCode: time 4.51e-07/0.9771, allocations: 0 / 0.962 GB, free: 3.633 MB / 0.7481 GB Notification: Performance of Templates: time 0.008746/0.9858, allocations: 5.107 MB / 0.967 GB, free: 14.65 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (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)