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.001442/0.001442, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001658/0.001658, allocations: 192 kB / 17.2 MB, free: 5.598 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.365/1.365, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8047/0.8047, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.91 kB / 0.4911 GB, free: 7.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4405/0.4418, allocations: 77.94 MB / 0.5672 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1846/0.6264, allocations: 161.5 MB / 0.7249 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004562/0.631, allocations: 3.507 MB / 0.7283 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003004/0.6313, allocations: 7.938 kB / 0.7283 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004609/0.6319, allocations: 131 kB / 0.7285 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.6331, allocations: 453.9 kB / 0.7289 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.6346, allocations: 0.5935 MB / 0.7295 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000643/0.6353, allocations: 0.6167 MB / 0.7301 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003532/0.6356, allocations: 236.6 kB / 0.7303 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.6368, allocations: 343.5 kB / 0.7306 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.6371, allocations: 195.2 kB / 0.7308 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.738e-05/0.6371, allocations: 24 kB / 0.7308 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009153/0.638, allocations: 0.5417 MB / 0.7314 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.6382, allocations: 95.72 kB / 0.7315 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.6383, allocations: 147.3 kB / 0.7316 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007598/0.6391, allocations: 0.5376 MB / 0.7321 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.6391, allocations: 0 / 0.7321 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.764e-06/0.6391, allocations: 0 / 0.7321 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.6391, allocations: 0 / 0.7321 GB, free: 1.371 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.001016/0.6401, allocations: 0.6427 MB / 0.7328 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.6402, allocations: 8.625 kB / 0.7328 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005249/0.6407, allocations: 75.52 kB / 0.7328 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.6411, allocations: 297.3 kB / 0.7331 GB, free: 276 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.6411, allocations: 16.44 kB / 0.7331 GB, free: 260 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.6411, allocations: 16 kB / 0.7331 GB, free: 244 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006294/0.6418, allocations: 320.1 kB / 0.7335 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.6418, allocations: 0 / 0.7335 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.6418, allocations: 4 kB / 0.7335 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.6418, allocations: 11.94 kB / 0.7335 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006661/0.6425, allocations: 256.6 kB / 0.7337 GB, free: 15.64 MB / 0.5762 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.001522/0.644, allocations: 1.244 MB / 0.7349 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004493/0.6445, allocations: 186.4 kB / 0.7351 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/0.6448, allocations: 120.8 kB / 0.7352 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000568/0.6454, allocations: 303.2 kB / 0.7355 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.6454, allocations: 38.56 kB / 0.7355 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.6454, allocations: 0 / 0.7355 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.002253/0.6477, allocations: 0.5758 MB / 0.7361 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.6477, allocations: 51.41 kB / 0.7362 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.648, allocations: 263 kB / 0.7364 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.648, allocations: 33.7 kB / 0.7364 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.82e-05/0.6481, allocations: 164.1 kB / 0.7366 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.6482, allocations: 47.34 kB / 0.7366 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.786e-05/0.6483, allocations: 37.7 kB / 0.7367 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.6484, allocations: 334.8 kB / 0.737 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/0.6487, allocations: 95.91 kB / 0.7371 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.649, allocations: 148 kB / 0.7372 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005802/0.6496, allocations: 232.1 kB / 0.7375 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6496, allocations: 0 / 0.7375 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001173/0.6508, allocations: 354 kB / 0.7378 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.6508, allocations: 12 kB / 0.7378 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.6508, allocations: 0 / 0.7378 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006235/0.6515, allocations: 96.69 kB / 0.7379 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.6517, allocations: 35.97 kB / 0.7379 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.6539, allocations: 1.731 MB / 0.7396 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.6541, allocations: 31.72 kB / 0.7396 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.6541, allocations: 20 kB / 0.7397 GB, free: 9.094 MB / 0.5762 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.0001561/0.6543, allocations: 138.5 kB / 0.7398 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.6544, allocations: 23.72 kB / 0.7398 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/0.6555, allocations: 367.9 kB / 0.7402 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.6555, allocations: 4 kB / 0.7402 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-06/0.6555, allocations: 0 / 0.7402 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.6555, allocations: 4 kB / 0.7402 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.6572, allocations: 0.7721 MB / 0.7409 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.6572, allocations: 4 kB / 0.7409 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.6574, allocations: 39.91 kB / 0.741 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004335/0.6578, allocations: 84.8 kB / 0.7411 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.6578, allocations: 3.938 kB / 0.7411 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001943/0.6598, allocations: 1.739 MB / 0.7428 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.6598, allocations: 4.031 kB / 0.7428 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.6609, allocations: 454.3 kB / 0.7432 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.6611, allocations: 120.8 kB / 0.7433 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.6611, allocations: 4 kB / 0.7433 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.6614, allocations: 31.91 kB / 0.7433 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.613e-05/0.6615, allocations: 23.91 kB / 0.7434 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.6615, allocations: 4 kB / 0.7434 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001849/0.6617, allocations: 186 kB / 0.7436 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6617, allocations: 0 / 0.7436 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004364/0.6621, allocations: 83.84 kB / 0.7436 GB, free: 4.754 MB / 0.5762 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.0004027/0.6625, allocations: 169.8 kB / 0.7438 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.6636, allocations: 366.6 kB / 0.7441 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.6636, allocations: 0 / 0.7441 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000578/0.6642, allocations: 258.4 kB / 0.7444 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007693/0.6649, allocations: 138.4 kB / 0.7445 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009494/0.6659, allocations: 0.4949 MB / 0.745 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.6663, allocations: 0.7714 MB / 0.7458 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002045/0.6665, allocations: 58.25 kB / 0.7458 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.726e-05/0.6665, allocations: 23.44 kB / 0.7458 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/0.6665, allocations: 0 / 0.7458 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of Templates: time 0.3/0.9666, allocations: 5.913 MB / 0.7516 GB, free: 171.1 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)