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.001448/0.001448, allocations: 107.7 kB / 17.03 MB, free: 6.082 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.001606/0.001606, allocations: 196 kB / 17.98 MB, free: 5.16 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 / 241.7 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.7191/0.7191, allocations: 115.1 MB / 406.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 67.89 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3195, allocations: 76.15 MB / 0.5576 GB, free: 36.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1646/0.4841, allocations: 161.5 MB / 0.7153 GB, free: 2.527 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0054/0.4895, allocations: 3.485 MB / 0.7187 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006112/0.4902, allocations: 11.94 kB / 0.7187 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000655/0.4909, allocations: 135 kB / 0.7188 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001532/0.4924, allocations: 449.9 kB / 0.7192 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.4945, allocations: 0.6008 MB / 0.7198 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007722/0.4953, allocations: 0.6205 MB / 0.7204 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003708/0.4957, allocations: 236.4 kB / 0.7207 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.4968, allocations: 339.1 kB / 0.721 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002721/0.4971, allocations: 199.2 kB / 0.7212 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.868e-05/0.4972, allocations: 28 kB / 0.7212 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009446/0.4981, allocations: 0.5417 MB / 0.7217 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.4982, allocations: 99.72 kB / 0.7218 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.4984, allocations: 143.3 kB / 0.722 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007342/0.4991, allocations: 0.5609 MB / 0.7225 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4991, allocations: 0 / 0.7225 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4991, allocations: 0 / 0.7225 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.4992, allocations: 0 / 0.7225 GB, free: 11.11 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.001052/0.5002, allocations: 0.635 MB / 0.7231 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.5003, allocations: 8.031 kB / 0.7231 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005075/0.5008, allocations: 79.48 kB / 0.7232 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.5012, allocations: 317.2 kB / 0.7235 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.5012, allocations: 12.44 kB / 0.7235 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.5013, allocations: 20 kB / 0.7235 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005884/0.5019, allocations: 308.2 kB / 0.7238 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.5019, allocations: 3.938 kB / 0.7238 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.5019, allocations: 12 kB / 0.7239 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.5019, allocations: 7.938 kB / 0.7239 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006075/0.5026, allocations: 256.6 kB / 0.7241 GB, free: 9.363 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.001541/0.5041, allocations: 1.236 MB / 0.7253 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.5045, allocations: 178.5 kB / 0.7255 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/0.5048, allocations: 120.8 kB / 0.7256 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005597/0.5054, allocations: 303.2 kB / 0.7259 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.5054, allocations: 38.56 kB / 0.7259 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.5054, allocations: 0 / 0.7259 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.002164/0.5076, allocations: 0.5692 MB / 0.7265 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.5077, allocations: 59.39 kB / 0.7265 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.5079, allocations: 259 kB / 0.7268 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.5079, allocations: 37.64 kB / 0.7268 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.508, allocations: 164.1 kB / 0.727 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.5081, allocations: 51.34 kB / 0.727 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.5082, allocations: 37.7 kB / 0.7271 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.5083, allocations: 326.8 kB / 0.7274 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.5086, allocations: 103.8 kB / 0.7275 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/0.5089, allocations: 132.2 kB / 0.7276 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005535/0.5094, allocations: 242.6 kB / 0.7278 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5095, allocations: 0 / 0.7278 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001108/0.5106, allocations: 357.8 kB / 0.7282 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.5106, allocations: 8 kB / 0.7282 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.5106, allocations: 0 / 0.7282 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000589/0.5112, allocations: 92.88 kB / 0.7283 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.5114, allocations: 39.91 kB / 0.7283 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.5136, allocations: 1.731 MB / 0.73 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.5138, allocations: 27.83 kB / 0.73 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.5138, allocations: 8 kB / 0.73 GB, free: 2.855 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.000147/0.514, allocations: 153.8 kB / 0.7302 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.352e-05/0.5141, allocations: 23.72 kB / 0.7302 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.5152, allocations: 356 kB / 0.7305 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.5152, allocations: 4 kB / 0.7305 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.5152, allocations: 0 / 0.7305 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.5152, allocations: 8.109 kB / 0.7306 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.5168, allocations: 0.7746 MB / 0.7313 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.5168, allocations: 4 kB / 0.7313 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.517, allocations: 39.89 kB / 0.7314 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004341/0.5175, allocations: 80.86 kB / 0.7314 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.5175, allocations: 7.938 kB / 0.7314 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.5194, allocations: 1.747 MB / 0.7331 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5194, allocations: 4.031 kB / 0.7331 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.5205, allocations: 456.2 kB / 0.7336 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.5207, allocations: 116.8 kB / 0.7337 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.5207, allocations: 8 kB / 0.7337 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.521, allocations: 23.91 kB / 0.7337 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.081e-05/0.521, allocations: 15.98 kB / 0.7337 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.5211, allocations: 8 kB / 0.7337 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001677/0.5212, allocations: 190 kB / 0.7339 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5212, allocations: 0 / 0.7339 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000401/0.5217, allocations: 79.83 kB / 0.734 GB, free: 14.5 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.0003354/0.522, allocations: 163.3 kB / 0.7342 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000965/0.523, allocations: 362.5 kB / 0.7345 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.523, allocations: 0 / 0.7345 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005685/0.5236, allocations: 262.8 kB / 0.7348 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006746/0.5242, allocations: 124.2 kB / 0.7349 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008159/0.5251, allocations: 0.4897 MB / 0.7354 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.5254, allocations: 0.7714 MB / 0.7361 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001796/0.5256, allocations: 62.23 kB / 0.7362 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.577e-05/0.5256, allocations: 19.44 kB / 0.7362 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.5256, allocations: 0 / 0.7362 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of Templates: time 0.01043/0.5361, allocations: 5.935 MB / 0.742 GB, free: 6.34 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)