Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001079/0.001079, allocations: 104.8 kB / 16.27 MB, free: 5.98 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.001179/0.001179, allocations: 188.9 kB / 17.2 MB, free: 5.605 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.3/1.3, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002271/0.002271, allocations: 290.7 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9306/0.9306, allocations: 169.3 MB / 0.4988 GB, free: 4.512 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 102.8 kB / 0.5959 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1708, allocations: 86.96 MB / 0.6808 GB, free: 8.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4586/0.6294, allocations: 161.5 MB / 0.8385 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005094/0.6346, allocations: 3.497 MB / 0.8419 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004385/0.6351, allocations: 11.94 kB / 0.842 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005198/0.6357, allocations: 134.9 kB / 0.8421 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.6371, allocations: 449.9 kB / 0.8425 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.6387, allocations: 0.5964 MB / 0.8431 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007929/0.6395, allocations: 0.6244 MB / 0.8437 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004431/0.6399, allocations: 228.7 kB / 0.8439 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.6413, allocations: 343.8 kB / 0.8442 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003664/0.6417, allocations: 191.2 kB / 0.8444 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.226e-05/0.6417, allocations: 20 kB / 0.8445 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.6428, allocations: 0.5456 MB / 0.845 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.6429, allocations: 103.7 kB / 0.8451 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.6431, allocations: 139.3 kB / 0.8452 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009671/0.6441, allocations: 0.552 MB / 0.8458 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.6441, allocations: 0 / 0.8458 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6441, allocations: 4 kB / 0.8458 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.6441, allocations: 4 kB / 0.8458 GB, free: 6.141 MB / 0.6075 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.001177/0.6453, allocations: 0.6332 MB / 0.8464 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.6454, allocations: 8.031 kB / 0.8464 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006094/0.646, allocations: 83.5 kB / 0.8465 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.6464, allocations: 293.4 kB / 0.8467 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.6464, allocations: 12.44 kB / 0.8468 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/0.6465, allocations: 20 kB / 0.8468 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006647/0.6471, allocations: 317.3 kB / 0.8471 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.6472, allocations: 0 / 0.8471 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.6472, allocations: 8 kB / 0.8471 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.6472, allocations: 4 kB / 0.8471 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006688/0.6479, allocations: 252.8 kB / 0.8473 GB, free: 4.43 MB / 0.6075 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.001701/0.6496, allocations: 1.26 MB / 0.8486 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/0.6501, allocations: 174.5 kB / 0.8487 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000317/0.6504, allocations: 120.8 kB / 0.8488 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006122/0.651, allocations: 307.2 kB / 0.8491 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.6511, allocations: 30.56 kB / 0.8492 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.894e-06/0.6511, allocations: 0 / 0.8492 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0023/0.6534, allocations: 0.5731 MB / 0.8497 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.6534, allocations: 63.33 kB / 0.8498 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.6537, allocations: 255 kB / 0.85 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.6538, allocations: 29.7 kB / 0.8501 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.6539, allocations: 168.2 kB / 0.8502 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.6539, allocations: 43.34 kB / 0.8503 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.334e-05/0.654, allocations: 49.61 kB / 0.8503 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6542, allocations: 326.8 kB / 0.8506 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.6545, allocations: 95.91 kB / 0.8507 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/0.6548, allocations: 136.2 kB / 0.8508 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000598/0.6554, allocations: 248.3 kB / 0.8511 GB, free: 316 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.6554, allocations: 4 kB / 0.8511 GB, free: 312 kB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001193/0.6566, allocations: 349.8 kB / 0.8514 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.6566, allocations: 4 kB / 0.8514 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.6567, allocations: 4 kB / 0.8514 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006381/0.6573, allocations: 84.89 kB / 0.8515 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.6576, allocations: 35.97 kB / 0.8515 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.6599, allocations: 1.733 MB / 0.8532 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.6602, allocations: 32.73 kB / 0.8533 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.6602, allocations: 4 kB / 0.8533 GB, free: 13.91 MB / 0.6231 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.0001731/0.6604, allocations: 145.8 kB / 0.8534 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.6605, allocations: 27.78 kB / 0.8534 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.6616, allocations: 367.9 kB / 0.8538 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.6616, allocations: 0 / 0.8538 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.6616, allocations: 0 / 0.8538 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.6617, allocations: 3.984 kB / 0.8538 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.6634, allocations: 0.7746 MB / 0.8545 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.6634, allocations: 0 / 0.8545 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.6636, allocations: 39.89 kB / 0.8546 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004602/0.6641, allocations: 80.88 kB / 0.8547 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.6642, allocations: 7.938 kB / 0.8547 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/0.6662, allocations: 1.743 MB / 0.8564 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6663, allocations: 0 / 0.8564 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.6674, allocations: 458.3 kB / 0.8568 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.6676, allocations: 120.8 kB / 0.8569 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.6677, allocations: 7.938 kB / 0.8569 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.6679, allocations: 23.91 kB / 0.8569 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.478e-05/0.668, allocations: 23.86 kB / 0.857 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.6681, allocations: 16.06 kB / 0.857 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001934/0.6683, allocations: 182 kB / 0.8572 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6683, allocations: 4 kB / 0.8572 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004617/0.6687, allocations: 87.83 kB / 0.8572 GB, free: 9.547 MB / 0.6231 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.0004278/0.6692, allocations: 169.3 kB / 0.8574 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001062/0.6703, allocations: 362.9 kB / 0.8578 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6703, allocations: 4 kB / 0.8578 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005964/0.6709, allocations: 259 kB / 0.858 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007543/0.6716, allocations: 117.4 kB / 0.8581 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009832/0.6726, allocations: 0.5394 MB / 0.8586 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.673, allocations: 0.7675 MB / 0.8594 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.43e-05/0.6731, allocations: 27.42 kB / 0.8594 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of SimCode: time 4.71e-07/0.6731, allocations: 0 / 0.8594 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of Templates: time 0.008759/0.6819, allocations: 5.391 MB / 0.8647 GB, free: 1.883 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)