Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.000736/0.000736, allocations: 89.81 kB / 16.66 MB, free: 5.805 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.0008737/0.0008737, allocations: 177.1 kB / 17.58 MB, free: 5.477 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.333/1.333, allocations: 223.3 MB / 241.6 MB, free: 176 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7218/0.7218, allocations: 115.5 MB / 408.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004026, allocations: 16 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4398, allocations: 77.52 MB / 0.5606 GB, free: 36.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1848/0.6246, allocations: 157.2 MB / 0.7141 GB, free: 5.684 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005224/0.6299, allocations: 3.462 MB / 0.7174 GB, free: 2.207 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004558/0.6304, allocations: 15.94 kB / 0.7175 GB, free: 2.191 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000524/0.6309, allocations: 103.3 kB / 0.7176 GB, free: 2.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.6324, allocations: 426.2 kB / 0.718 GB, free: 1.672 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.6342, allocations: 0.5408 MB / 0.7185 GB, free: 1.133 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001029/0.6353, allocations: 0.8077 MB / 0.7193 GB, free: 328 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004485/0.6357, allocations: 196.6 kB / 0.7195 GB, free: 136 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002042/0.6378, allocations: 306.3 kB / 0.7198 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005069/0.6383, allocations: 191.2 kB / 0.7199 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.695e-05/0.6384, allocations: 16 kB / 0.72 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.6397, allocations: 0.6312 MB / 0.7206 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.6398, allocations: 83.72 kB / 0.7207 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002224/0.6401, allocations: 157 kB / 0.7208 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007089/0.6408, allocations: 395.1 kB / 0.7212 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.6408, allocations: 0 / 0.7212 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6408, allocations: 0 / 0.7212 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.6408, allocations: 0 / 0.7212 GB, free: 14.38 MB / 0.5606 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.00117/0.642, allocations: 0.5941 MB / 0.7218 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.6421, allocations: 11.97 kB / 0.7218 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006044/0.6427, allocations: 91.48 kB / 0.7219 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.6431, allocations: 293.3 kB / 0.7221 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.6431, allocations: 16.38 kB / 0.7222 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.027e-05/0.6432, allocations: 20 kB / 0.7222 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007066/0.6439, allocations: 332.1 kB / 0.7225 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.6439, allocations: 4 kB / 0.7225 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.6439, allocations: 4 kB / 0.7225 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.644, allocations: 15.88 kB / 0.7225 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007169/0.6447, allocations: 276.9 kB / 0.7228 GB, free: 12.64 MB / 0.5606 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.00171/0.6464, allocations: 1.26 MB / 0.724 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/0.6469, allocations: 194.5 kB / 0.7242 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/0.6472, allocations: 140.7 kB / 0.7243 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006099/0.6478, allocations: 319.2 kB / 0.7246 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.6479, allocations: 30.56 kB / 0.7247 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.714e-06/0.6479, allocations: 0 / 0.7247 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.002359/0.6503, allocations: 0.6267 MB / 0.7253 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.6503, allocations: 55.34 kB / 0.7253 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.6506, allocations: 267 kB / 0.7256 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.6506, allocations: 29.7 kB / 0.7256 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.6508, allocations: 176 kB / 0.7258 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.606e-05/0.6508, allocations: 39.36 kB / 0.7258 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.6509, allocations: 17.72 kB / 0.7258 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.651, allocations: 338.8 kB / 0.7262 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003134/0.6513, allocations: 111.9 kB / 0.7263 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003377/0.6517, allocations: 148.2 kB / 0.7264 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006435/0.6523, allocations: 272.1 kB / 0.7267 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.6523, allocations: 0 / 0.7267 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001224/0.6536, allocations: 382 kB / 0.727 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.6536, allocations: 12 kB / 0.727 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.6536, allocations: 0 / 0.727 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006182/0.6542, allocations: 92.75 kB / 0.7271 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.6545, allocations: 51.91 kB / 0.7272 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.6567, allocations: 1.609 MB / 0.7287 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003004/0.657, allocations: 51.81 kB / 0.7288 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.657, allocations: 7.938 kB / 0.7288 GB, free: 6.035 MB / 0.5606 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.0001854/0.6572, allocations: 149.8 kB / 0.7289 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.385e-05/0.6573, allocations: 19.72 kB / 0.729 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.6585, allocations: 403.9 kB / 0.7293 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.6586, allocations: 11.94 kB / 0.7294 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.6586, allocations: 0 / 0.7294 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.6586, allocations: 0 / 0.7294 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.6604, allocations: 0.802 MB / 0.7301 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.6604, allocations: 0 / 0.7301 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.6606, allocations: 44.06 kB / 0.7302 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005248/0.6611, allocations: 96.75 kB / 0.7303 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.6612, allocations: 4 kB / 0.7303 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/0.6631, allocations: 1.629 MB / 0.7319 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.6631, allocations: 8.094 kB / 0.7319 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.6644, allocations: 478.3 kB / 0.7323 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.6645, allocations: 128.7 kB / 0.7325 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.6646, allocations: 0 / 0.7325 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002944/0.6649, allocations: 43.88 kB / 0.7325 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.665, allocations: 15.97 kB / 0.7325 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.665, allocations: 12.06 kB / 0.7325 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001903/0.6652, allocations: 186 kB / 0.7327 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6652, allocations: 4 kB / 0.7327 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004649/0.6657, allocations: 87.77 kB / 0.7328 GB, free: 1.668 MB / 0.5606 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.0004442/0.6661, allocations: 153.1 kB / 0.7329 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.6672, allocations: 390.7 kB / 0.7333 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.6672, allocations: 0 / 0.7333 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006107/0.6678, allocations: 276.3 kB / 0.7336 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008342/0.6687, allocations: 122.1 kB / 0.7337 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009842/0.6697, allocations: 0.6353 MB / 0.7343 GB, free: 52 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.6701, allocations: 0.7713 MB / 0.7351 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.702e-05/0.6702, allocations: 27.42 kB / 0.7351 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.6702, allocations: 0 / 0.7351 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of Templates: time 0.009751/0.6799, allocations: 5.343 MB / 0.7403 GB, free: 9.926 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)