Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001034/0.001034, allocations: 107.7 kB / 15.99 MB, free: 6.355 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.0009662/0.0009662, allocations: 190.4 kB / 16.91 MB, free: 6.195 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.251/1.251, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002/0.002, allocations: 285.8 kB / 291 MB, free: 14.73 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9073/0.9073, allocations: 169.2 MB / 0.4985 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 89.73 kB / 0.5953 GB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1921, allocations: 86.98 MB / 0.6803 GB, free: 8.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.471/0.6631, allocations: 159.3 MB / 0.8358 GB, free: 268 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005245/0.6684, allocations: 3.461 MB / 0.8392 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000428/0.6689, allocations: 15.81 kB / 0.8392 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005301/0.6695, allocations: 107.3 kB / 0.8393 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.6709, allocations: 430.2 kB / 0.8397 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.6726, allocations: 0.5419 MB / 0.8403 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007357/0.6733, allocations: 0.6284 MB / 0.8409 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003501/0.6737, allocations: 220.6 kB / 0.8411 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/0.6753, allocations: 344.3 kB / 0.8414 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003024/0.6756, allocations: 215.1 kB / 0.8416 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.275e-05/0.6757, allocations: 24 kB / 0.8416 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.6767, allocations: 0.5611 MB / 0.8422 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.6768, allocations: 91.72 kB / 0.8423 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.677, allocations: 151.2 kB / 0.8424 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005827/0.6776, allocations: 402.1 kB / 0.8428 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6776, allocations: 3.938 kB / 0.8428 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6776, allocations: 0 / 0.8428 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.6776, allocations: 4 kB / 0.8428 GB, free: 9.113 MB / 0.6075 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.001082/0.6787, allocations: 0.6278 MB / 0.8434 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.6787, allocations: 8.031 kB / 0.8434 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005247/0.6793, allocations: 79.52 kB / 0.8435 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.6796, allocations: 293.3 kB / 0.8438 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.6797, allocations: 20.38 kB / 0.8438 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.416e-05/0.6797, allocations: 16 kB / 0.8438 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006298/0.6804, allocations: 320.1 kB / 0.8441 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.6804, allocations: 3.938 kB / 0.8441 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.6804, allocations: 4 kB / 0.8441 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.6804, allocations: 8 kB / 0.8441 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006184/0.681, allocations: 252.8 kB / 0.8444 GB, free: 7.398 MB / 0.6075 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.001571/0.6826, allocations: 1.24 MB / 0.8456 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/0.6831, allocations: 178.5 kB / 0.8458 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/0.6834, allocations: 128.8 kB / 0.8459 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005848/0.684, allocations: 307.2 kB / 0.8462 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.684, allocations: 34.5 kB / 0.8462 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.684, allocations: 0 / 0.8462 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.002241/0.6862, allocations: 0.5763 MB / 0.8468 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.6863, allocations: 55.41 kB / 0.8468 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.6866, allocations: 255 kB / 0.8471 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.6866, allocations: 33.69 kB / 0.8471 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.6867, allocations: 168.1 kB / 0.8473 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.6868, allocations: 39.36 kB / 0.8473 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.073e-05/0.6869, allocations: 45.61 kB / 0.8473 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.687, allocations: 334.8 kB / 0.8477 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.6873, allocations: 95.92 kB / 0.8478 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003071/0.6876, allocations: 136.2 kB / 0.8479 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005688/0.6882, allocations: 240.1 kB / 0.8481 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6882, allocations: 0 / 0.8481 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001136/0.6894, allocations: 349.8 kB / 0.8484 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.6894, allocations: 6.812 kB / 0.8485 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.6894, allocations: 4 kB / 0.8485 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006356/0.6901, allocations: 84.89 kB / 0.8485 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.6903, allocations: 47.89 kB / 0.8486 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/0.6928, allocations: 1.732 MB / 0.8503 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.6931, allocations: 31.81 kB / 0.8503 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/0.6932, allocations: 11.94 kB / 0.8503 GB, free: 0.8789 MB / 0.6075 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.000202/0.6934, allocations: 141.8 kB / 0.8505 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.835e-05/0.6934, allocations: 31.66 kB / 0.8505 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.6946, allocations: 367.9 kB / 0.8508 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.6946, allocations: 4 kB / 0.8508 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.6946, allocations: 0 / 0.8508 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.6946, allocations: 1.5 kB / 0.8508 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.6963, allocations: 0.7722 MB / 0.8516 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6963, allocations: 0 / 0.8516 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.6965, allocations: 35.97 kB / 0.8516 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004508/0.697, allocations: 80.86 kB / 0.8517 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.697, allocations: 0 / 0.8517 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.6991, allocations: 1.753 MB / 0.8534 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6992, allocations: 0 / 0.8534 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.7003, allocations: 460.9 kB / 0.8539 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.7004, allocations: 128.9 kB / 0.854 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.7005, allocations: 3.984 kB / 0.854 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.7008, allocations: 27.97 kB / 0.854 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/0.7008, allocations: 23.91 kB / 0.854 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.7009, allocations: 8.062 kB / 0.854 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001822/0.7011, allocations: 186 kB / 0.8542 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7011, allocations: 0 / 0.8542 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004659/0.7015, allocations: 87.83 kB / 0.8543 GB, free: 12.52 MB / 0.6231 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.0004431/0.702, allocations: 152.8 kB / 0.8544 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001034/0.703, allocations: 370.1 kB / 0.8548 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.7031, allocations: 0 / 0.8548 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005715/0.7036, allocations: 258.8 kB / 0.855 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007425/0.7044, allocations: 119.5 kB / 0.8552 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009838/0.7054, allocations: 0.6348 MB / 0.8558 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.7057, allocations: 0.7714 MB / 0.8565 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.136e-05/0.7058, allocations: 19.44 kB / 0.8565 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of SimCode: time 2.81e-07/0.7058, allocations: 4 kB / 0.8566 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of Templates: time 0.007972/0.7138, allocations: 5.382 MB / 0.8618 GB, free: 4.777 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)