Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.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.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001192/0.001192, allocations: 194.2 kB / 16.14 MB, free: 6.703 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.517/1.517, allocations: 205.1 MB / 222 MB, free: 4.785 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.744/1.744, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001511/0.001511, allocations: 63.92 kB / 0.6708 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2776, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.7639/1.041, allocations: 159.2 MB / 0.9382 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004706/1.046, allocations: 3.505 MB / 0.9416 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004267/1.047, allocations: 13.03 kB / 0.9416 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004219/1.047, allocations: 108.9 kB / 0.9417 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00121/1.048, allocations: 425.6 kB / 0.9421 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001599/1.05, allocations: 0.5264 MB / 0.9426 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008099/1.051, allocations: 0.817 MB / 0.9434 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003313/1.051, allocations: 188.9 kB / 0.9436 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/1.053, allocations: 306.6 kB / 0.9439 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002996/1.053, allocations: 197.4 kB / 0.9441 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.357e-05/1.053, allocations: 14.16 kB / 0.9441 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/1.054, allocations: 0.6326 MB / 0.9447 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000121/1.055, allocations: 82.38 kB / 0.9448 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001689/1.055, allocations: 138.4 kB / 0.9449 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009422/1.056, allocations: 0.5637 MB / 0.9455 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.056, allocations: 1.172 kB / 0.9455 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.293e-06/1.056, allocations: 0 / 0.9455 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.541e-06/1.056, allocations: 0 / 0.9455 GB, free: 5.617 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001357/1.057, allocations: 0.6305 MB / 0.9461 GB, free: 21.15 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/1.057, allocations: 8.969 kB / 0.9461 GB, free: 21.15 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005479/1.058, allocations: 84.22 kB / 0.9462 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004232/1.058, allocations: 290.2 kB / 0.9465 GB, free: 20.9 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/1.058, allocations: 12 kB / 0.9465 GB, free: 20.9 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/1.058, allocations: 25.61 kB / 0.9465 GB, free: 20.9 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006551/1.059, allocations: 318.9 kB / 0.9468 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/1.059, allocations: 0 / 0.9468 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/1.059, allocations: 6.062 kB / 0.9468 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/1.059, allocations: 5.531 kB / 0.9468 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006668/1.06, allocations: 255.5 kB / 0.9471 GB, free: 20.81 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.001707/1.061, allocations: 1.24 MB / 0.9483 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/1.062, allocations: 181.6 kB / 0.9484 GB, free: 19.92 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/1.062, allocations: 122.6 kB / 0.9486 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006458/1.063, allocations: 308.2 kB / 0.9489 GB, free: 19.62 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/1.063, allocations: 39.7 kB / 0.9489 GB, free: 19.58 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/1.063, allocations: 1.094 kB / 0.9489 GB, free: 19.58 MB / 0.7481 GB Notification: Performance of matching and sorting (n=14): time 0.002577/1.065, allocations: 0.5637 MB / 0.9494 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/1.065, allocations: 58.11 kB / 0.9495 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004583/1.066, allocations: 257.1 kB / 0.9497 GB, free: 19.25 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/1.066, allocations: 31.53 kB / 0.9498 GB, free: 19.22 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/1.066, allocations: 162.9 kB / 0.9499 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.281e-05/1.066, allocations: 48.39 kB / 0.95 GB, free: 19.08 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.397e-05/1.066, allocations: 38.55 kB / 0.95 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001816/1.066, allocations: 334.2 kB / 0.9503 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/1.067, allocations: 98.34 kB / 0.9504 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/1.067, allocations: 142.8 kB / 0.9506 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000713/1.068, allocations: 243.6 kB / 0.9508 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.068, allocations: 0.625 kB / 0.9508 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001382/1.069, allocations: 355.4 kB / 0.9511 GB, free: 18.6 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/1.069, allocations: 5.594 kB / 0.9511 GB, free: 18.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.069, allocations: 1.062 kB / 0.9511 GB, free: 18.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006799/1.07, allocations: 89.56 kB / 0.9512 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/1.07, allocations: 44.27 kB / 0.9513 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002392/1.073, allocations: 1.6 MB / 0.9528 GB, free: 17.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/1.073, allocations: 33.69 kB / 0.9529 GB, free: 17.28 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/1.073, allocations: 7.516 kB / 0.9529 GB, free: 17.28 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002656/1.073, allocations: 162.6 kB / 0.953 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.917e-05/1.073, allocations: 26.48 kB / 0.953 GB, free: 17.14 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/1.075, allocations: 364.6 kB / 0.9534 GB, free: 17.09 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/1.075, allocations: 2.312 kB / 0.9534 GB, free: 17.09 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/1.075, allocations: 3.578 kB / 0.9534 GB, free: 17.09 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/1.075, allocations: 1.188 kB / 0.9534 GB, free: 17.09 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/1.077, allocations: 0.775 MB / 0.9542 GB, free: 16.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.077, allocations: 1.125 kB / 0.9542 GB, free: 16.74 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/1.077, allocations: 33.7 kB / 0.9542 GB, free: 16.74 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005634/1.077, allocations: 95.3 kB / 0.9543 GB, free: 16.73 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/1.077, allocations: 2.062 kB / 0.9543 GB, free: 16.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/1.08, allocations: 1.629 MB / 0.9559 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.08, allocations: 1.281 kB / 0.9559 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/1.081, allocations: 451.5 kB / 0.9563 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/1.081, allocations: 126.4 kB / 0.9564 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/1.081, allocations: 2.25 kB / 0.9564 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/1.082, allocations: 25.89 kB / 0.9565 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.425e-05/1.082, allocations: 21 kB / 0.9565 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/1.082, allocations: 9.781 kB / 0.9565 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002376/1.082, allocations: 182.7 kB / 0.9567 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.082, allocations: 0.5 kB / 0.9567 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005512/1.083, allocations: 87.06 kB / 0.9567 GB, free: 15.03 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004457/1.083, allocations: 153.5 kB / 0.9569 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001144/1.084, allocations: 365 kB / 0.9572 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.136e-06/1.084, allocations: 0.5625 kB / 0.9572 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007161/1.085, allocations: 263.5 kB / 0.9575 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009188/1.086, allocations: 121.3 kB / 0.9576 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/1.087, allocations: 0.5812 MB / 0.9582 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/1.087, allocations: 0.7717 MB / 0.9589 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002293/1.087, allocations: 60.62 kB / 0.959 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/1.088, allocations: 24.08 kB / 0.959 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of SimCode: time 5.11e-07/1.088, allocations: 0 / 0.959 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of Templates: time 0.009955/1.098, allocations: 5.536 MB / 0.9644 GB, free: 13.28 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)