Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009118/0.0009119, allocations: 91.42 kB / 16.67 MB, free: 5.742 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.001136/0.001136, allocations: 183 kB / 17.58 MB, free: 5.477 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.287/1.287, allocations: 223.3 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6936/0.6936, allocations: 115.5 MB / 408.2 MB, free: 7.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003316, allocations: 8 kB / 496.5 MB, free: 15.72 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3465, allocations: 77.51 MB / 0.5606 GB, free: 36.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001915/0.3485, allocations: 1.373 MB / 0.5619 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.152/0.5005, allocations: 145.8 MB / 0.7043 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.5007, allocations: 4 kB / 0.7043 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.5008, allocations: 19.8 kB / 0.7044 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002393/0.5011, allocations: 39.7 kB / 0.7044 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.5015, allocations: 167.5 kB / 0.7046 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.5017, allocations: 147.5 kB / 0.7047 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.5019, allocations: 35.06 kB / 0.7047 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.5037, allocations: 174.4 kB / 0.7049 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.5038, allocations: 59.73 kB / 0.705 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.5039, allocations: 4 kB / 0.705 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003028/0.5042, allocations: 155.7 kB / 0.7051 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.468e-05/0.5042, allocations: 27.89 kB / 0.7051 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.552e-05/0.5043, allocations: 69.44 kB / 0.7052 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.5046, allocations: 143.7 kB / 0.7053 GB, free: 14.71 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5046, allocations: 4 kB / 0.7053 GB, free: 14.71 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5046, allocations: 0 / 0.7053 GB, free: 14.71 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.5046, allocations: 0 / 0.7053 GB, free: 14.71 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007979/0.5054, allocations: 459 kB / 0.7058 GB, free: 14.21 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.5054, allocations: 11.97 kB / 0.7058 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006316/0.5061, allocations: 52.78 kB / 0.7058 GB, free: 14.15 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.5063, allocations: 212.3 kB / 0.706 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.5063, allocations: 4 kB / 0.706 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.5063, allocations: 8 kB / 0.7061 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/0.5068, allocations: 191.5 kB / 0.7062 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.5068, allocations: 0 / 0.7062 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.5069, allocations: 8 kB / 0.7062 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.5069, allocations: 3.984 kB / 0.7062 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005512/0.5074, allocations: 167.8 kB / 0.7064 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.5086, allocations: 0.8361 MB / 0.7072 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004389/0.509, allocations: 146.4 kB / 0.7074 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.5093, allocations: 88.8 kB / 0.7074 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.5093, allocations: 4 kB / 0.7074 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.5094, allocations: 38.55 kB / 0.7075 GB, free: 12.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 2.574e-06/0.5094, allocations: 3.938 kB / 0.7075 GB, free: 12.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.002054/0.5114, allocations: 495.2 kB / 0.708 GB, free: 11.79 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.5115, allocations: 51.41 kB / 0.708 GB, free: 11.72 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.5116, allocations: 160.6 kB / 0.7082 GB, free: 11.56 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.5117, allocations: 29.7 kB / 0.7082 GB, free: 11.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.5117, allocations: 112.2 kB / 0.7083 GB, free: 11.41 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.5118, allocations: 27.64 kB / 0.7083 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.5118, allocations: 13.72 kB / 0.7083 GB, free: 11.36 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5119, allocations: 318.8 kB / 0.7086 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.5122, allocations: 79.94 kB / 0.7087 GB, free: 10.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.5125, allocations: 120.2 kB / 0.7088 GB, free: 10.83 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000558/0.5131, allocations: 192.1 kB / 0.709 GB, free: 10.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5131, allocations: 4 kB / 0.709 GB, free: 10.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001147/0.5143, allocations: 302.1 kB / 0.7093 GB, free: 10.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.5143, allocations: 7.938 kB / 0.7093 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.5143, allocations: 4 kB / 0.7093 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000605/0.5149, allocations: 88.83 kB / 0.7094 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.5152, allocations: 39.95 kB / 0.7094 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.5174, allocations: 1.547 MB / 0.711 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.5176, allocations: 35.83 kB / 0.711 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.5176, allocations: 12.05 kB / 0.711 GB, free: 8.453 MB / 0.545 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 (10): * Single equations (assignments): 9 * 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.000107/0.5178, allocations: 125.7 kB / 0.7111 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/0.5178, allocations: 7.906 kB / 0.7111 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.519, allocations: 330.9 kB / 0.7114 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.519, allocations: 3.984 kB / 0.7114 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.519, allocations: 4 kB / 0.7114 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.519, allocations: 7.938 kB / 0.7115 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.5193, allocations: 245.3 kB / 0.7117 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5193, allocations: 0 / 0.7117 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.5196, allocations: 31.97 kB / 0.7117 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005414/0.5201, allocations: 84.77 kB / 0.7118 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.5201, allocations: 7.984 kB / 0.7118 GB, free: 7.555 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/0.522, allocations: 1.575 MB / 0.7133 GB, free: 5.836 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5221, allocations: 3.938 kB / 0.7134 GB, free: 5.832 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.5232, allocations: 400 kB / 0.7137 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.888e-05/0.5233, allocations: 108.9 kB / 0.7138 GB, free: 5.297 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.5233, allocations: 0 / 0.7138 GB, free: 5.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.5236, allocations: 35.91 kB / 0.7139 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.5236, allocations: 7.984 kB / 0.7139 GB, free: 5.254 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.5236, allocations: 4 kB / 0.7139 GB, free: 5.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.778e-05/0.5237, allocations: 118.3 kB / 0.714 GB, free: 5.137 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5237, allocations: 0 / 0.714 GB, free: 5.137 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003264/0.5241, allocations: 40 kB / 0.714 GB, free: 5.098 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 (10): * Single equations (assignments): 9 * 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.0001752/0.5243, allocations: 115.2 kB / 0.7141 GB, free: 4.977 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009394/0.5252, allocations: 325.5 kB / 0.7145 GB, free: 4.648 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5252, allocations: 0 / 0.7145 GB, free: 4.648 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005576/0.5258, allocations: 246.5 kB / 0.7147 GB, free: 4.395 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.5261, allocations: 28.47 kB / 0.7147 GB, free: 4.367 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008328/0.527, allocations: 380.3 kB / 0.7151 GB, free: 3.961 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.5273, allocations: 0.7088 MB / 0.7158 GB, free: 3.227 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.895e-05/0.5274, allocations: 27.41 kB / 0.7158 GB, free: 3.203 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.5274, allocations: 0 / 0.7158 GB, free: 3.203 MB / 0.545 GB Notification: Performance of Templates: time 0.004779/0.5321, allocations: 2.71 MB / 0.7184 GB, free: 0.5039 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)