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.001373/0.001373, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001441/0.001441, allocations: 193.4 kB / 16.14 MB, free: 6.637 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.533/1.533, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002602/0.002603, allocations: 294.7 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.079/1.079, allocations: 178.6 MB / 0.5068 GB, free: 4.793 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002713/0.002713, allocations: 100.7 kB / 0.6057 GB, free: 25.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1896, allocations: 89.15 MB / 0.6928 GB, free: 4.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.5429/0.7326, allocations: 159.2 MB / 0.8483 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005488/0.7381, allocations: 3.512 MB / 0.8517 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003349/0.7385, allocations: 8.656 kB / 0.8517 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004539/0.739, allocations: 102.1 kB / 0.8518 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0012/0.7402, allocations: 423.2 kB / 0.8522 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.7419, allocations: 0.5507 MB / 0.8528 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007946/0.7427, allocations: 0.8116 MB / 0.8536 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000331/0.743, allocations: 200.8 kB / 0.8538 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/0.7447, allocations: 304.3 kB / 0.854 GB, free: 476 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000318/0.745, allocations: 204.7 kB / 0.8542 GB, free: 352 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.244e-05/0.745, allocations: 13.09 kB / 0.8543 GB, free: 352 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.7461, allocations: 0.6289 MB / 0.8549 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.7463, allocations: 84.92 kB / 0.8549 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.7464, allocations: 136.8 kB / 0.8551 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008173/0.7472, allocations: 0.5674 MB / 0.8556 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.7473, allocations: 4 kB / 0.8556 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7473, allocations: 0 / 0.8556 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.7473, allocations: 0 / 0.8556 GB, free: 15.49 MB / 0.5919 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.001188/0.7485, allocations: 0.6309 MB / 0.8563 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.7485, allocations: 13.72 kB / 0.8563 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005246/0.749, allocations: 72.05 kB / 0.8563 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.7494, allocations: 304.1 kB / 0.8566 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.7495, allocations: 11.84 kB / 0.8566 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.7495, allocations: 20.72 kB / 0.8567 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006993/0.7502, allocations: 315.4 kB / 0.857 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.7502, allocations: 0 / 0.857 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.7503, allocations: 10.12 kB / 0.857 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.7503, allocations: 5.25 kB / 0.857 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006836/0.751, allocations: 262 kB / 0.8572 GB, free: 14.25 MB / 0.5919 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.001761/0.7528, allocations: 1.242 MB / 0.8584 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004463/0.7532, allocations: 174.1 kB / 0.8586 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003298/0.7535, allocations: 125.5 kB / 0.8587 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007257/0.7543, allocations: 303.9 kB / 0.859 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.7543, allocations: 36.56 kB / 0.859 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.7543, allocations: 2.844 kB / 0.859 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.002456/0.7568, allocations: 0.5738 MB / 0.8596 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.7569, allocations: 58.16 kB / 0.8597 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.7571, allocations: 252 kB / 0.8599 GB, free: 12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.7572, allocations: 29.7 kB / 0.8599 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.7573, allocations: 170.8 kB / 0.8601 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/0.7574, allocations: 52.97 kB / 0.8601 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-05/0.7575, allocations: 42.36 kB / 0.8602 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.7577, allocations: 334.2 kB / 0.8605 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/0.758, allocations: 89.2 kB / 0.8606 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/0.7583, allocations: 142.4 kB / 0.8607 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006054/0.7589, allocations: 236.7 kB / 0.861 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.7589, allocations: 2.688 kB / 0.861 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001221/0.7602, allocations: 352.3 kB / 0.8613 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.7602, allocations: 7.406 kB / 0.8613 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.7602, allocations: 1.781 kB / 0.8613 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006433/0.7609, allocations: 86.48 kB / 0.8614 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.7611, allocations: 54.16 kB / 0.8614 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/0.7635, allocations: 1.604 MB / 0.863 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.7638, allocations: 30.28 kB / 0.863 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.7639, allocations: 11.78 kB / 0.863 GB, free: 9.309 MB / 0.5919 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.0001988/0.7641, allocations: 146.6 kB / 0.8632 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.977e-05/0.7641, allocations: 28.41 kB / 0.8632 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.7653, allocations: 370 kB / 0.8636 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.7653, allocations: 0 / 0.8636 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.7653, allocations: 2.75 kB / 0.8636 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.7653, allocations: 0 / 0.8636 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.7671, allocations: 0.7815 MB / 0.8643 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.7671, allocations: 192 / 0.8643 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/0.7673, allocations: 41.22 kB / 0.8644 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005366/0.7678, allocations: 93.73 kB / 0.8645 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.7679, allocations: 3.312 kB / 0.8645 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002065/0.7699, allocations: 1.628 MB / 0.866 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7699, allocations: 4.062 kB / 0.866 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.7712, allocations: 453.5 kB / 0.8665 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.7713, allocations: 123.3 kB / 0.8666 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.7713, allocations: 2.406 kB / 0.8666 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.7716, allocations: 28.12 kB / 0.8666 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.839e-05/0.7717, allocations: 20.19 kB / 0.8666 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.7717, allocations: 8.094 kB / 0.8667 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000198/0.7719, allocations: 187.1 kB / 0.8668 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7719, allocations: 0 / 0.8668 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004272/0.7724, allocations: 87.44 kB / 0.8669 GB, free: 6.082 MB / 0.5919 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.0004418/0.7728, allocations: 171.4 kB / 0.8671 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.7739, allocations: 352 kB / 0.8674 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7739, allocations: 0 / 0.8674 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006171/0.7745, allocations: 262.2 kB / 0.8677 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000761/0.7753, allocations: 118.2 kB / 0.8678 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.7763, allocations: 0.5845 MB / 0.8684 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.7768, allocations: 0.7754 MB / 0.8691 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002032/0.777, allocations: 56.91 kB / 0.8692 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.777, allocations: 19.81 kB / 0.8692 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.7771, allocations: 0 / 0.8692 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of Templates: time 0.01196/0.789, allocations: 5.526 MB / 0.8746 GB, free: 1.32 MB / 0.5919 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)