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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 186.6 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4882/0.4882, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 349.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 108.5 kB / 420 MB, free: 8.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 47.92 kB / 0.4891 GB, free: 7.695 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3669, allocations: 70.06 MB / 0.5575 GB, free: 44.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4829/0.8498, allocations: 159.2 MB / 0.713 GB, free: 1.707 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.005847/0.8557, allocations: 3.496 MB / 0.7164 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004241/0.8562, allocations: 11 kB / 0.7164 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004775/0.8567, allocations: 108.9 kB / 0.7165 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.8581, allocations: 425.3 kB / 0.7169 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.8601, allocations: 0.5276 MB / 0.7174 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001291/0.8614, allocations: 0.8215 MB / 0.7182 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/0.8617, allocations: 203.1 kB / 0.7184 GB, free: 1.594 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.8635, allocations: 322.5 kB / 0.7187 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003686/0.8639, allocations: 190.9 kB / 0.7189 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 4.566e-05/0.8639, allocations: 15.62 kB / 0.7189 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.8652, allocations: 0.6312 MB / 0.7195 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.8653, allocations: 92.52 kB / 0.7196 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.8655, allocations: 131.7 kB / 0.7198 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0007432/0.8663, allocations: 0.5679 MB / 0.7203 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.8663, allocations: 4.031 kB / 0.7203 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.72e-07/0.8663, allocations: 0 / 0.7203 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.8663, allocations: 0 / 0.7203 GB, free: 1.543 MB / 0.5105 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.00115/0.8674, allocations: 0.6279 MB / 0.7209 GB, free: 17.08 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.8675, allocations: 8.656 kB / 0.7209 GB, free: 17.08 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000485/0.868, allocations: 72.56 kB / 0.721 GB, free: 17.06 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.8684, allocations: 290.9 kB / 0.7213 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.8684, allocations: 19.84 kB / 0.7213 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.8684, allocations: 23.53 kB / 0.7213 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005724/0.869, allocations: 313.9 kB / 0.7216 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.869, allocations: 2.906 kB / 0.7216 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.8691, allocations: 9.719 kB / 0.7216 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.8691, allocations: 4.531 kB / 0.7216 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006018/0.8697, allocations: 246.7 kB / 0.7219 GB, free: 16.75 MB / 0.5261 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.001517/0.8712, allocations: 1.247 MB / 0.7231 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/0.8716, allocations: 179.5 kB / 0.7233 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/0.8719, allocations: 126.1 kB / 0.7234 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005948/0.8725, allocations: 300.9 kB / 0.7237 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.8726, allocations: 36.38 kB / 0.7237 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.994e-06/0.8726, allocations: 0 / 0.7237 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.002131/0.8747, allocations: 0.5783 MB / 0.7243 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.8748, allocations: 52.61 kB / 0.7243 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.875, allocations: 251.5 kB / 0.7246 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.8751, allocations: 32.33 kB / 0.7246 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.953e-05/0.8752, allocations: 164.3 kB / 0.7247 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.8752, allocations: 51.16 kB / 0.7248 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.413e-05/0.8753, allocations: 37.34 kB / 0.7248 GB, free: 15 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.8754, allocations: 337.7 kB / 0.7251 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.8757, allocations: 98.98 kB / 0.7252 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.876, allocations: 134.7 kB / 0.7254 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005489/0.8766, allocations: 234.8 kB / 0.7256 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.8766, allocations: 0.875 kB / 0.7256 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001063/0.8777, allocations: 354.1 kB / 0.7259 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.8777, allocations: 5.312 kB / 0.7259 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.8777, allocations: 2.844 kB / 0.7259 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005641/0.8783, allocations: 91.92 kB / 0.726 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.8785, allocations: 49.91 kB / 0.7261 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.8805, allocations: 1.611 MB / 0.7277 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.8808, allocations: 27.33 kB / 0.7277 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.8809, allocations: 11.8 kB / 0.7277 GB, free: 13.22 MB / 0.5261 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.0001661/0.881, allocations: 152.5 kB / 0.7278 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.392e-05/0.8811, allocations: 26.28 kB / 0.7279 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.8822, allocations: 358.5 kB / 0.7282 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.8822, allocations: 5.078 kB / 0.7282 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.8822, allocations: 0 / 0.7282 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.8822, allocations: 6.469 kB / 0.7282 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.8838, allocations: 0.7763 MB / 0.729 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.8838, allocations: 0 / 0.729 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.884, allocations: 36.59 kB / 0.729 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005107/0.8845, allocations: 92.7 kB / 0.7291 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.8845, allocations: 2.375 kB / 0.7291 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/0.8867, allocations: 1.622 MB / 0.7307 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.8867, allocations: 0 / 0.7307 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.8884, allocations: 1.163 MB / 0.7318 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.8886, allocations: 122.8 kB / 0.7319 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.8886, allocations: 1.812 kB / 0.7319 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.8889, allocations: 29.53 kB / 0.732 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.096e-05/0.889, allocations: 21.47 kB / 0.732 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.889, allocations: 6.219 kB / 0.732 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001523/0.8891, allocations: 185.4 kB / 0.7322 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8891, allocations: 0 / 0.7322 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005107/0.8897, allocations: 81.89 kB / 0.7322 GB, free: 10.39 MB / 0.5261 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.0003713/0.89, allocations: 172.1 kB / 0.7324 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009586/0.891, allocations: 359.7 kB / 0.7328 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.891, allocations: 4.25 kB / 0.7328 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005612/0.8916, allocations: 261.8 kB / 0.733 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007535/0.8924, allocations: 112.4 kB / 0.7331 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.8935, allocations: 0.7311 MB / 0.7338 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.8939, allocations: 0.7826 MB / 0.7346 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002511/0.8942, allocations: 64.44 kB / 0.7347 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.436e-05/0.8943, allocations: 19.75 kB / 0.7347 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of SimCode: time 4.61e-07/0.8943, allocations: 0 / 0.7347 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of Templates: time 0.01102/0.9053, allocations: 5.667 MB / 0.7402 GB, free: 8.531 MB / 0.5261 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)