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.001429/0.001429, allocations: 105.2 kB / 16.4 MB, free: 6.465 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.001677/0.001677, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002109/0.002109, allocations: 288 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9525/0.9525, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 95.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4612/0.463, allocations: 86.97 MB / 0.7671 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.173/0.636, allocations: 161.5 MB / 0.9248 GB, free: 1.98 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.005534/0.6416, allocations: 3.486 MB / 0.9282 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004877/0.6421, allocations: 11.94 kB / 0.9282 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.000574/0.6427, allocations: 139 kB / 0.9283 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.6443, allocations: 445.9 kB / 0.9287 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.6461, allocations: 0.6026 MB / 0.9293 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001032/0.6472, allocations: 0.6244 MB / 0.9299 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005242/0.6477, allocations: 227.3 kB / 0.9301 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.6493, allocations: 352.9 kB / 0.9305 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004239/0.6498, allocations: 195.2 kB / 0.9307 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 7.203e-05/0.6499, allocations: 20 kB / 0.9307 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.6511, allocations: 0.5495 MB / 0.9312 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.6513, allocations: 107.6 kB / 0.9313 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.6515, allocations: 139.3 kB / 0.9315 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.6528, allocations: 0.5558 MB / 0.932 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.6528, allocations: 0 / 0.932 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6528, allocations: 7.938 kB / 0.932 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.6528, allocations: 4 kB / 0.932 GB, free: 10.54 MB / 0.7012 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.001245/0.6541, allocations: 0.6272 MB / 0.9326 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.6541, allocations: 12.03 kB / 0.9326 GB, free: 9.855 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005808/0.6547, allocations: 79.5 kB / 0.9327 GB, free: 9.777 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004715/0.6552, allocations: 301.3 kB / 0.933 GB, free: 9.441 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.6552, allocations: 16.44 kB / 0.933 GB, free: 9.426 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.6553, allocations: 24 kB / 0.933 GB, free: 9.402 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006826/0.656, allocations: 312.1 kB / 0.9333 GB, free: 9.082 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.656, allocations: 0 / 0.9333 GB, free: 9.082 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.656, allocations: 12 kB / 0.9334 GB, free: 9.07 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.656, allocations: 11.94 kB / 0.9334 GB, free: 9.059 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006666/0.6567, allocations: 244.9 kB / 0.9336 GB, free: 8.82 MB / 0.7012 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.001692/0.6584, allocations: 1.252 MB / 0.9348 GB, free: 7.457 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/0.6589, allocations: 170.5 kB / 0.935 GB, free: 7.281 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.6592, allocations: 132.8 kB / 0.9351 GB, free: 7.148 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005785/0.6598, allocations: 299.2 kB / 0.9354 GB, free: 6.801 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.6598, allocations: 34.56 kB / 0.9354 GB, free: 6.758 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.6598, allocations: 0 / 0.9354 GB, free: 6.758 MB / 0.7012 GB Notification: Performance of matching and sorting (n=14): time 0.002328/0.6622, allocations: 0.5755 MB / 0.936 GB, free: 6.156 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.6622, allocations: 55.41 kB / 0.936 GB, free: 6.09 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/0.6625, allocations: 255 kB / 0.9363 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/0.6626, allocations: 29.7 kB / 0.9363 GB, free: 5.797 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.6627, allocations: 168.1 kB / 0.9365 GB, free: 5.629 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.64e-05/0.6628, allocations: 43.36 kB / 0.9365 GB, free: 5.586 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.332e-05/0.6629, allocations: 41.7 kB / 0.9366 GB, free: 5.539 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.663, allocations: 334.8 kB / 0.9369 GB, free: 5.203 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003097/0.6633, allocations: 95.86 kB / 0.937 GB, free: 5.109 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.6637, allocations: 143.2 kB / 0.9371 GB, free: 4.957 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006094/0.6643, allocations: 244.1 kB / 0.9373 GB, free: 4.703 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.6643, allocations: 0 / 0.9373 GB, free: 4.703 MB / 0.7012 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001205/0.6655, allocations: 349.9 kB / 0.9377 GB, free: 4.352 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.6655, allocations: 4 kB / 0.9377 GB, free: 4.348 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.6655, allocations: 0 / 0.9377 GB, free: 4.348 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006047/0.6661, allocations: 92.83 kB / 0.9378 GB, free: 4.254 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.6664, allocations: 39.95 kB / 0.9378 GB, free: 4.215 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.6687, allocations: 1.741 MB / 0.9395 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.669, allocations: 35.81 kB / 0.9395 GB, free: 2.297 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.6691, allocations: 4 kB / 0.9395 GB, free: 2.293 MB / 0.7012 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.0001847/0.6693, allocations: 144.2 kB / 0.9397 GB, free: 2.145 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.039e-05/0.6693, allocations: 27.62 kB / 0.9397 GB, free: 2.117 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.6705, allocations: 371.9 kB / 0.9401 GB, free: 1.746 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.6705, allocations: 0 / 0.9401 GB, free: 1.746 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.6706, allocations: 0 / 0.9401 GB, free: 1.746 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.6706, allocations: 0 / 0.9401 GB, free: 1.746 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.6723, allocations: 0.7785 MB / 0.9408 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.6724, allocations: 8.094 kB / 0.9408 GB, free: 0.8906 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.6726, allocations: 35.91 kB / 0.9409 GB, free: 0.8555 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004426/0.673, allocations: 80.77 kB / 0.9409 GB, free: 0.7734 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.6731, allocations: 11.94 kB / 0.9409 GB, free: 0.7617 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.6751, allocations: 1.732 MB / 0.9426 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6752, allocations: 0 / 0.9426 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.6763, allocations: 454.3 kB / 0.9431 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.6765, allocations: 120.8 kB / 0.9432 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.6765, allocations: 4 kB / 0.9432 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.6768, allocations: 27.91 kB / 0.9432 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.615e-05/0.6769, allocations: 19.92 kB / 0.9432 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/0.6769, allocations: 11.98 kB / 0.9432 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001971/0.6771, allocations: 186 kB / 0.9434 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.01e-07/0.6772, allocations: 0 / 0.9434 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000459/0.6776, allocations: 83.84 kB / 0.9435 GB, free: 13.95 MB / 0.7169 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.0004786/0.6781, allocations: 160.4 kB / 0.9437 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001084/0.6792, allocations: 370.6 kB / 0.944 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6792, allocations: 0 / 0.944 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006035/0.6798, allocations: 254.4 kB / 0.9443 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007561/0.6806, allocations: 129.1 kB / 0.9444 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.6816, allocations: 0.5291 MB / 0.9449 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.682, allocations: 0.7714 MB / 0.9456 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.904e-05/0.6821, allocations: 23.44 kB / 0.9457 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of SimCode: time 5.51e-07/0.6821, allocations: 8 kB / 0.9457 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of Templates: time 0.009272/0.6914, allocations: 5.39 MB / 0.9509 GB, free: 6.285 MB / 0.7169 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)