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.001731/0.001731, allocations: 106.5 kB / 16.52 MB, free: 6.656 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.002121/0.002121, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.392/1.392, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7315/0.7315, allocations: 115.3 MB / 406.6 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.91 kB / 493.6 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3982, allocations: 76.16 MB / 0.5564 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1801/0.5783, allocations: 159.2 MB / 0.7119 GB, free: 4.969 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005214/0.5836, allocations: 3.52 MB / 0.7153 GB, free: 1.434 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004918/0.5841, allocations: 11.94 kB / 0.7153 GB, free: 1.422 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005894/0.5847, allocations: 99.3 kB / 0.7154 GB, free: 1.324 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00141/0.5862, allocations: 430.2 kB / 0.7158 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.5878, allocations: 0.5419 MB / 0.7163 GB, free: 372 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009967/0.5888, allocations: 0.8116 MB / 0.7171 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004098/0.5893, allocations: 196.7 kB / 0.7173 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001818/0.5911, allocations: 306 kB / 0.7176 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003947/0.5915, allocations: 207.2 kB / 0.7178 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.391e-05/0.5916, allocations: 12 kB / 0.7178 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.5929, allocations: 0.6273 MB / 0.7184 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.593, allocations: 95.69 kB / 0.7185 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.5932, allocations: 135.3 kB / 0.7187 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007116/0.5939, allocations: 395.1 kB / 0.719 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.594, allocations: 0 / 0.719 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.432e-06/0.594, allocations: 0 / 0.719 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.594, allocations: 0 / 0.719 GB, free: 13.62 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.001231/0.5952, allocations: 0.6368 MB / 0.7197 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.5953, allocations: 11.97 kB / 0.7197 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005901/0.5959, allocations: 79.5 kB / 0.7197 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.5963, allocations: 297.2 kB / 0.72 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.5963, allocations: 20.44 kB / 0.7201 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.5963, allocations: 16 kB / 0.7201 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006965/0.597, allocations: 312.2 kB / 0.7204 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.5971, allocations: 4 kB / 0.7204 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.073e-05/0.5971, allocations: 11.98 kB / 0.7204 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.5971, allocations: 15.92 kB / 0.7204 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006474/0.5978, allocations: 240.9 kB / 0.7206 GB, free: 11.88 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.001666/0.5994, allocations: 1.248 MB / 0.7218 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/0.5999, allocations: 174.5 kB / 0.722 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002979/0.6002, allocations: 120.8 kB / 0.7221 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005742/0.6008, allocations: 311.2 kB / 0.7224 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.6008, allocations: 34.56 kB / 0.7225 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.6008, allocations: 0 / 0.7225 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.00233/0.6032, allocations: 0.5673 MB / 0.723 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.6032, allocations: 63.34 kB / 0.7231 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.6035, allocations: 263 kB / 0.7233 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.6035, allocations: 25.7 kB / 0.7233 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.6036, allocations: 168.1 kB / 0.7235 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.6037, allocations: 43.36 kB / 0.7235 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.924e-05/0.6038, allocations: 37.7 kB / 0.7236 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.6039, allocations: 334.8 kB / 0.7239 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.6042, allocations: 99.91 kB / 0.724 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/0.6045, allocations: 128.2 kB / 0.7241 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005884/0.6051, allocations: 240.1 kB / 0.7243 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.6051, allocations: 8 kB / 0.7244 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001247/0.6064, allocations: 353.3 kB / 0.7247 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.6064, allocations: 4 kB / 0.7247 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.6064, allocations: 4 kB / 0.7247 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006559/0.6071, allocations: 92.86 kB / 0.7248 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.6073, allocations: 47.91 kB / 0.7248 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/0.6096, allocations: 1.608 MB / 0.7264 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/0.6099, allocations: 35.81 kB / 0.7264 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.6099, allocations: 12 kB / 0.7264 GB, free: 5.484 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.0001776/0.6101, allocations: 146.4 kB / 0.7266 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.6102, allocations: 27.7 kB / 0.7266 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.6114, allocations: 363.9 kB / 0.727 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.6114, allocations: 0 / 0.727 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.6114, allocations: 0 / 0.727 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.6114, allocations: 8.172 kB / 0.727 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.6131, allocations: 0.7669 MB / 0.7277 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.6131, allocations: 4 kB / 0.7277 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.6133, allocations: 39.94 kB / 0.7278 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005462/0.6139, allocations: 92.86 kB / 0.7278 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.6139, allocations: 3.938 kB / 0.7279 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/0.6158, allocations: 1.633 MB / 0.7294 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.6158, allocations: 0 / 0.7294 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.617, allocations: 456.6 kB / 0.7299 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.6171, allocations: 120.8 kB / 0.73 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.6171, allocations: 4 kB / 0.73 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.6174, allocations: 27.95 kB / 0.73 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.075e-05/0.6175, allocations: 15.98 kB / 0.73 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.6176, allocations: 12 kB / 0.7301 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001722/0.6177, allocations: 186 kB / 0.7302 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6177, allocations: 0 / 0.7302 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004461/0.6182, allocations: 83.77 kB / 0.7303 GB, free: 1.25 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.0004263/0.6186, allocations: 166.4 kB / 0.7305 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009907/0.6196, allocations: 354.4 kB / 0.7308 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6196, allocations: 0 / 0.7308 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005677/0.6202, allocations: 265.6 kB / 0.7311 GB, free: 464 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007427/0.621, allocations: 112.6 kB / 0.7312 GB, free: 356 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.622, allocations: 0.6233 MB / 0.7318 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.6223, allocations: 0.7752 MB / 0.7325 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.91e-05/0.6224, allocations: 19.44 kB / 0.7326 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.6224, allocations: 0 / 0.7326 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of Templates: time 0.008198/0.6306, allocations: 5.374 MB / 0.7378 GB, free: 9.535 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)