Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004562/0.004562, allocations: 102 kB / 15.73 MB, free: 6.051 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.001007/0.001007, allocations: 195 kB / 16.68 MB, free: 5.969 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002056/0.002056, allocations: 294.7 kB / 290.8 MB, free: 1.762 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9453/0.9453, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 91.86 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1561, allocations: 86.98 MB / 0.7664 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003323/0.1594, allocations: 1.918 MB / 0.7682 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5255/0.685, allocations: 155.4 MB / 0.92 GB, free: 5.461 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.6851, allocations: 0 / 0.92 GB, free: 5.461 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.6854, allocations: 31.67 kB / 0.9201 GB, free: 5.43 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.6857, allocations: 71.41 kB / 0.9201 GB, free: 5.359 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006146/0.6863, allocations: 255.2 kB / 0.9204 GB, free: 5.109 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.6866, allocations: 267.1 kB / 0.9206 GB, free: 4.848 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.6867, allocations: 82.34 kB / 0.9207 GB, free: 4.766 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.6879, allocations: 249.4 kB / 0.9209 GB, free: 4.555 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.688, allocations: 87.61 kB / 0.921 GB, free: 4.469 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.688, allocations: 16 kB / 0.921 GB, free: 4.453 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.6884, allocations: 187.7 kB / 0.9212 GB, free: 4.27 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 6.608e-05/0.6884, allocations: 43.83 kB / 0.9213 GB, free: 4.227 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.6886, allocations: 95.52 kB / 0.9214 GB, free: 4.133 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003899/0.689, allocations: 285.9 kB / 0.9216 GB, free: 3.855 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.689, allocations: 4 kB / 0.9216 GB, free: 3.852 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.352e-06/0.689, allocations: 0 / 0.9216 GB, free: 3.852 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.689, allocations: 0 / 0.9216 GB, free: 3.852 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008767/0.6899, allocations: 0.5268 MB / 0.9221 GB, free: 3.277 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.6899, allocations: 8.031 kB / 0.9222 GB, free: 3.27 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000782/0.6907, allocations: 87.64 kB / 0.9222 GB, free: 3.184 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.691, allocations: 230.6 kB / 0.9225 GB, free: 2.918 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.412e-05/0.691, allocations: 41.97 kB / 0.9225 GB, free: 2.871 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.6911, allocations: 16 kB / 0.9225 GB, free: 2.855 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005126/0.6916, allocations: 267.7 kB / 0.9228 GB, free: 2.566 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.6916, allocations: 0 / 0.9228 GB, free: 2.566 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.6916, allocations: 4 kB / 0.9228 GB, free: 2.562 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.6917, allocations: 8 kB / 0.9228 GB, free: 2.555 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004228/0.6921, allocations: 168.5 kB / 0.9229 GB, free: 2.391 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.6936, allocations: 1.177 MB / 0.9241 GB, free: 1.137 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006869/0.6943, allocations: 204.2 kB / 0.9243 GB, free: 0.9297 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.6945, allocations: 72.81 kB / 0.9244 GB, free: 0.8555 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.6945, allocations: 4 kB / 0.9244 GB, free: 0.8516 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.6945, allocations: 34.5 kB / 0.9244 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.6945, allocations: 3.938 kB / 0.9244 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of matching and sorting (n=12): time 0.002376/0.6969, allocations: 0.6219 MB / 0.925 GB, free: 136 kB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.697, allocations: 55.41 kB / 0.9251 GB, free: 68 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.6972, allocations: 215.1 kB / 0.9253 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.6972, allocations: 29.7 kB / 0.9253 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 7.815e-05/0.6973, allocations: 140 kB / 0.9254 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.6973, allocations: 35.45 kB / 0.9255 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.665e-05/0.6974, allocations: 49.59 kB / 0.9255 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.6976, allocations: 334.8 kB / 0.9258 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.6978, allocations: 68.94 kB / 0.9259 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.698, allocations: 131.6 kB / 0.926 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004233/0.6985, allocations: 214 kB / 0.9262 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6985, allocations: 0 / 0.9262 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001353/0.6998, allocations: 374.7 kB / 0.9266 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.6999, allocations: 8 kB / 0.9266 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.6999, allocations: 0 / 0.9266 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.7009, allocations: 169.7 kB / 0.9267 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.7011, allocations: 35.97 kB / 0.9268 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003699/0.7048, allocations: 3.243 MB / 0.9299 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.7051, allocations: 39.69 kB / 0.93 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.7051, allocations: 12 kB / 0.93 GB, free: 10.62 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * 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: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.7053, allocations: 136.3 kB / 0.9301 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.244e-05/0.7054, allocations: 19.88 kB / 0.9301 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.7066, allocations: 370.8 kB / 0.9305 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.7066, allocations: 0 / 0.9305 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.7066, allocations: 0 / 0.9305 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.7066, allocations: 7.984 kB / 0.9305 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.7069, allocations: 277.3 kB / 0.9308 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.7069, allocations: 0 / 0.9308 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.707, allocations: 19.98 kB / 0.9308 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007413/0.7078, allocations: 141.5 kB / 0.9309 GB, free: 9.594 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.7078, allocations: 11.98 kB / 0.9309 GB, free: 9.582 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003495/0.7113, allocations: 3.291 MB / 0.9341 GB, free: 6.008 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7113, allocations: 0 / 0.9341 GB, free: 6.008 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.7125, allocations: 444.6 kB / 0.9346 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.7126, allocations: 108.9 kB / 0.9347 GB, free: 5.426 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.7126, allocations: 12.62 kB / 0.9347 GB, free: 5.414 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.7129, allocations: 11.98 kB / 0.9347 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.775e-05/0.713, allocations: 15.98 kB / 0.9347 GB, free: 5.387 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.713, allocations: 11.92 kB / 0.9347 GB, free: 5.375 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001734/0.7132, allocations: 167.1 kB / 0.9349 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7132, allocations: 0 / 0.9349 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004026/0.7136, allocations: 75.84 kB / 0.935 GB, free: 5.137 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000191/0.7138, allocations: 111.2 kB / 0.9351 GB, free: 5.016 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009893/0.7148, allocations: 441.5 kB / 0.9355 GB, free: 4.559 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7148, allocations: 4 kB / 0.9355 GB, free: 4.555 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00062/0.7154, allocations: 363.5 kB / 0.9358 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.7158, allocations: 62.64 kB / 0.9359 GB, free: 4.117 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008719/0.7167, allocations: 419.9 kB / 0.9363 GB, free: 3.684 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.717, allocations: 0.7363 MB / 0.937 GB, free: 2.922 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001501/0.7172, allocations: 33.94 kB / 0.937 GB, free: 2.887 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.43e-05/0.7172, allocations: 19.42 kB / 0.9371 GB, free: 2.867 MB / 0.6856 GB Notification: Performance of SimCode: time 2.2e-07/0.7172, allocations: 0 / 0.9371 GB, free: 2.867 MB / 0.6856 GB Notification: Performance of Templates: time 0.009361/0.7266, allocations: 5.483 MB / 0.9424 GB, free: 13.44 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)