Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001114/0.001114, allocations: 98.66 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 177.5 kB / 16.92 MB, free: 6.918 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.508/1.508, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7323/0.7323, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003474, allocations: 8 kB / 495.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1768, allocations: 77.53 MB / 0.5599 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002181/0.179, allocations: 1.613 MB / 0.5615 GB, free: 7.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5131/0.6922, allocations: 151.5 MB / 0.7094 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002648/0.6925, allocations: 0 / 0.7094 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.6928, allocations: 19.8 kB / 0.7095 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000516/0.6933, allocations: 71.55 kB / 0.7095 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008657/0.6942, allocations: 225.6 kB / 0.7097 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003613/0.6946, allocations: 259.1 kB / 0.71 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.6948, allocations: 60.53 kB / 0.71 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002108/0.6969, allocations: 220.8 kB / 0.7103 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.6971, allocations: 79.62 kB / 0.7103 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.6971, allocations: 4 kB / 0.7103 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004866/0.6976, allocations: 175.7 kB / 0.7105 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.675e-05/0.6977, allocations: 35.83 kB / 0.7105 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.6979, allocations: 105.2 kB / 0.7106 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005107/0.6984, allocations: 267.1 kB / 0.7109 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.6984, allocations: 4 kB / 0.7109 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.587e-06/0.6984, allocations: 3.984 kB / 0.7109 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.6985, allocations: 0 / 0.7109 GB, free: 12.3 MB / 0.5294 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.0008991/0.6994, allocations: 0.4956 MB / 0.7114 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.6994, allocations: 8.031 kB / 0.7114 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008951/0.7003, allocations: 87.72 kB / 0.7115 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.7006, allocations: 222.6 kB / 0.7117 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.239e-05/0.7007, allocations: 41.97 kB / 0.7117 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.7007, allocations: 16 kB / 0.7117 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/0.7013, allocations: 267.3 kB / 0.712 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.7013, allocations: 4 kB / 0.712 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.7014, allocations: 4 kB / 0.712 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.7014, allocations: 7.938 kB / 0.712 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/0.7019, allocations: 183.7 kB / 0.7122 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.7037, allocations: 1.188 MB / 0.7133 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007501/0.7045, allocations: 212.6 kB / 0.7135 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.7047, allocations: 76.81 kB / 0.7136 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.7047, allocations: 4 kB / 0.7136 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.7048, allocations: 44.31 kB / 0.7137 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.7048, allocations: 0 / 0.7137 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.002909/0.7077, allocations: 0.6454 MB / 0.7143 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.7077, allocations: 51.41 kB / 0.7143 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.7081, allocations: 211 kB / 0.7145 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.325e-05/0.7081, allocations: 33.7 kB / 0.7146 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.7083, allocations: 143.9 kB / 0.7147 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.7083, allocations: 39.45 kB / 0.7148 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.136e-05/0.7084, allocations: 21.72 kB / 0.7148 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002597/0.7087, allocations: 326.8 kB / 0.7151 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.7089, allocations: 75.94 kB / 0.7152 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.7092, allocations: 131.7 kB / 0.7153 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004829/0.7097, allocations: 223.6 kB / 0.7155 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.7097, allocations: 4 kB / 0.7155 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00151/0.7112, allocations: 385.8 kB / 0.7159 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.7113, allocations: 6.031 kB / 0.7159 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.7113, allocations: 0 / 0.7159 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.7124, allocations: 169.7 kB / 0.716 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.7127, allocations: 35.97 kB / 0.7161 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004725/0.7174, allocations: 3.05 MB / 0.7191 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/0.7178, allocations: 36.23 kB / 0.7191 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.7178, allocations: 11.98 kB / 0.7191 GB, free: 3.262 MB / 0.5294 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.0001662/0.718, allocations: 141.8 kB / 0.7192 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.675e-05/0.718, allocations: 15.81 kB / 0.7192 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.7194, allocations: 380.2 kB / 0.7196 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.7194, allocations: 0 / 0.7196 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.7194, allocations: 4 kB / 0.7196 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.7195, allocations: 11.92 kB / 0.7196 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/0.7199, allocations: 277.4 kB / 0.7199 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.7199, allocations: 0 / 0.7199 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.72, allocations: 19.98 kB / 0.7199 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/0.721, allocations: 173.5 kB / 0.7201 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.7211, allocations: 0 / 0.7201 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003896/0.725, allocations: 3.08 MB / 0.7231 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.725, allocations: 128 / 0.7231 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.7263, allocations: 446.9 kB / 0.7235 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.7265, allocations: 112.9 kB / 0.7236 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.7265, allocations: 11.88 kB / 0.7236 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000296/0.7268, allocations: 19.98 kB / 0.7236 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.775e-05/0.7269, allocations: 23.91 kB / 0.7237 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.7269, allocations: 4 kB / 0.7237 GB, free: 14.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001959/0.7271, allocations: 163.9 kB / 0.7238 GB, free: 14.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7271, allocations: 0 / 0.7238 GB, free: 14.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004761/0.7276, allocations: 75.84 kB / 0.7239 GB, free: 13.94 MB / 0.545 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.0002071/0.7278, allocations: 119.2 kB / 0.724 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001081/0.7289, allocations: 454 kB / 0.7244 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7289, allocations: 0 / 0.7244 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006962/0.7296, allocations: 353.3 kB / 0.7248 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005272/0.7302, allocations: 60.03 kB / 0.7248 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009899/0.7312, allocations: 498.7 kB / 0.7253 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.7316, allocations: 0.7402 MB / 0.726 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000218/0.7318, allocations: 29.95 kB / 0.7261 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.003e-05/0.7319, allocations: 23.42 kB / 0.7261 GB, free: 11.59 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.7319, allocations: 0 / 0.7261 GB, free: 11.59 MB / 0.545 GB Notification: Performance of Templates: time 0.01038/0.7423, allocations: 4.92 MB / 0.7309 GB, free: 6.738 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)