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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.7/1.7, allocations: 292.3 MB / 308.1 MB, free: 4.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001439/0.00144, allocations: 198.3 kB / 376.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 205.1 MB / 0.6354 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009209/0.000921, allocations: 101.1 kB / 0.748 GB, free: 61.08 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 51.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2603, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.5992/0.8596, allocations: 159.2 MB / 1.138 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003609/0.8632, allocations: 3.521 MB / 1.141 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.8635, allocations: 10.06 kB / 1.141 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0003816/0.8639, allocations: 100.8 kB / 1.141 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.8649, allocations: 428.1 kB / 1.142 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.8662, allocations: 0.5298 MB / 1.142 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0007611/0.867, allocations: 0.8132 MB / 1.143 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003073/0.8673, allocations: 197.6 kB / 1.143 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.8689, allocations: 310.1 kB / 1.143 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.8691, allocations: 201.1 kB / 1.144 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.8692, allocations: 13.09 kB / 1.144 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.8702, allocations: 0.6268 MB / 1.144 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.8703, allocations: 95.78 kB / 1.144 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.8705, allocations: 130.7 kB / 1.144 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0007086/0.8712, allocations: 0.5638 MB / 1.145 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.8712, allocations: 0 / 1.145 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8712, allocations: 1.031 kB / 1.145 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.8712, allocations: 0 / 1.145 GB, free: 14.23 MB / 0.7605 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.001069/0.8723, allocations: 0.6384 MB / 1.146 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.8723, allocations: 9.688 kB / 1.146 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004799/0.8728, allocations: 76.19 kB / 1.146 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.8732, allocations: 291 kB / 1.146 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.8732, allocations: 14.19 kB / 1.146 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.8733, allocations: 20.66 kB / 1.146 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005953/0.8739, allocations: 310.4 kB / 1.146 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.8739, allocations: 6.438 kB / 1.146 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.8739, allocations: 8 kB / 1.146 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.8739, allocations: 7.125 kB / 1.146 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006112/0.8746, allocations: 251.2 kB / 1.147 GB, free: 13.2 MB / 0.7605 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.001597/0.8762, allocations: 1.243 MB / 1.148 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004571/0.8766, allocations: 172.7 kB / 1.148 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003273/0.877, allocations: 141.5 kB / 1.148 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006832/0.8777, allocations: 297.8 kB / 1.148 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/0.8777, allocations: 38.56 kB / 1.148 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=14): time 2.013e-06/0.8778, allocations: 0 / 1.148 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of matching and sorting (n=14): time 0.002234/0.88, allocations: 0.5672 MB / 1.149 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.88, allocations: 55.5 kB / 1.149 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.8803, allocations: 259.9 kB / 1.149 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.8803, allocations: 32.58 kB / 1.149 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.8804, allocations: 163.1 kB / 1.149 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.8805, allocations: 53.31 kB / 1.15 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.488e-05/0.8806, allocations: 33.89 kB / 1.15 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.8807, allocations: 336 kB / 1.15 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.881, allocations: 94.12 kB / 1.15 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003241/0.8814, allocations: 138.7 kB / 1.15 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006194/0.882, allocations: 245.3 kB / 1.15 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.882, allocations: 0 / 1.15 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001116/0.8831, allocations: 349.7 kB / 1.151 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.8832, allocations: 10.66 kB / 1.151 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.8832, allocations: 0 / 1.151 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005563/0.8837, allocations: 89.41 kB / 1.151 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.884, allocations: 45.5 kB / 1.151 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.886, allocations: 1.601 MB / 1.152 GB, free: 8.938 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.8863, allocations: 34.47 kB / 1.152 GB, free: 8.926 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.8863, allocations: 6.375 kB / 1.152 GB, free: 8.926 MB / 0.7605 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.0001711/0.8865, allocations: 152.8 kB / 1.153 GB, free: 8.785 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.8865, allocations: 28.44 kB / 1.153 GB, free: 8.77 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.8877, allocations: 367.6 kB / 1.153 GB, free: 8.637 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.8877, allocations: 3.094 kB / 1.153 GB, free: 8.637 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.8877, allocations: 0 / 1.153 GB, free: 8.637 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.8877, allocations: 3.375 kB / 1.153 GB, free: 8.637 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.8893, allocations: 0.7768 MB / 1.154 GB, free: 8.152 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.8894, allocations: 4 kB / 1.154 GB, free: 8.152 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.8896, allocations: 33.5 kB / 1.154 GB, free: 8.152 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005007/0.8901, allocations: 86.5 kB / 1.154 GB, free: 8.133 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.8901, allocations: 7.375 kB / 1.154 GB, free: 8.129 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.892, allocations: 1.631 MB / 1.155 GB, free: 6.668 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.892, allocations: 0.9375 kB / 1.155 GB, free: 6.668 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.8936, allocations: 1.158 MB / 1.157 GB, free: 5.781 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.8938, allocations: 119.5 kB / 1.157 GB, free: 5.664 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.8938, allocations: 7.938 kB / 1.157 GB, free: 5.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.8941, allocations: 26.89 kB / 1.157 GB, free: 5.656 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.8942, allocations: 27.41 kB / 1.157 GB, free: 5.645 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.8942, allocations: 3.188 kB / 1.157 GB, free: 5.645 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001579/0.8944, allocations: 185.4 kB / 1.157 GB, free: 5.535 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.745e-06/0.8944, allocations: 0 / 1.157 GB, free: 5.535 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000513/0.8949, allocations: 84.78 kB / 1.157 GB, free: 5.516 MB / 0.7605 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.0003648/0.8953, allocations: 158.2 kB / 1.157 GB, free: 5.418 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009763/0.8963, allocations: 369 kB / 1.157 GB, free: 5.238 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8963, allocations: 0 / 1.157 GB, free: 5.238 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005716/0.8969, allocations: 253.1 kB / 1.158 GB, free: 5.09 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007541/0.8976, allocations: 121.8 kB / 1.158 GB, free: 5.062 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.8986, allocations: 0.7436 MB / 1.159 GB, free: 4.516 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.899, allocations: 0.7712 MB / 1.159 GB, free: 3.812 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000196/0.8992, allocations: 54.47 kB / 1.159 GB, free: 3.809 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.513e-05/0.8993, allocations: 21.41 kB / 1.159 GB, free: 3.797 MB / 0.7605 GB Notification: Performance of SimCode: time 2.1e-07/0.8993, allocations: 0 / 1.159 GB, free: 3.797 MB / 0.7605 GB Notification: Performance of Templates: time 0.008992/0.9083, allocations: 5.681 MB / 1.165 GB, free: 3.457 MB / 0.7605 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)