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.000989/0.000989, allocations: 112.5 kB / 17.04 MB, free: 5.812 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.001045/0.001045, allocations: 195 kB / 17.98 MB, free: 5.027 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.251/1.251, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.681/0.681, allocations: 115.1 MB / 406.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 60.12 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3522, allocations: 76.15 MB / 0.5576 GB, free: 36.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003105/0.3554, allocations: 1.658 MB / 0.5592 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1475/0.5028, allocations: 149.7 MB / 0.7054 GB, free: 12.69 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.503, allocations: 0 / 0.7054 GB, free: 12.69 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.5031, allocations: 27.8 kB / 0.7054 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002259/0.5034, allocations: 47.64 kB / 0.7055 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003901/0.5038, allocations: 183.3 kB / 0.7056 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.504, allocations: 167.5 kB / 0.7058 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.5041, allocations: 29.09 kB / 0.7058 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.5051, allocations: 197.9 kB / 0.706 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.5053, allocations: 59.75 kB / 0.7061 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.5053, allocations: 12 kB / 0.7061 GB, free: 12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000257/0.5055, allocations: 159.8 kB / 0.7062 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.48e-05/0.5056, allocations: 23.91 kB / 0.7062 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.337e-05/0.5057, allocations: 51.73 kB / 0.7063 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.506, allocations: 213 kB / 0.7065 GB, free: 11.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.506, allocations: 3.938 kB / 0.7065 GB, free: 11.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.506, allocations: 0 / 0.7065 GB, free: 11.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.506, allocations: 0 / 0.7065 GB, free: 11.57 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.0007764/0.5068, allocations: 463 kB / 0.7069 GB, free: 11.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.5068, allocations: 8.031 kB / 0.707 GB, free: 11.06 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005851/0.5074, allocations: 60.69 kB / 0.707 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.5076, allocations: 206.8 kB / 0.7072 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.5077, allocations: 4 kB / 0.7072 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.5077, allocations: 8 kB / 0.7072 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004023/0.5081, allocations: 185.8 kB / 0.7074 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.5081, allocations: 0 / 0.7074 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.5081, allocations: 0 / 0.7074 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.5081, allocations: 4 kB / 0.7074 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004442/0.5086, allocations: 147.8 kB / 0.7075 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.5096, allocations: 0.8255 MB / 0.7083 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003783/0.51, allocations: 138.4 kB / 0.7085 GB, free: 9.348 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.5102, allocations: 76.8 kB / 0.7086 GB, free: 9.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.5103, allocations: 4 kB / 0.7086 GB, free: 9.266 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.5103, allocations: 30.56 kB / 0.7086 GB, free: 9.227 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.5103, allocations: 4 kB / 0.7086 GB, free: 9.223 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.001769/0.5121, allocations: 459.3 kB / 0.709 GB, free: 8.746 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.5121, allocations: 51.41 kB / 0.7091 GB, free: 8.684 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.5122, allocations: 156.2 kB / 0.7092 GB, free: 8.523 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.5123, allocations: 29.7 kB / 0.7093 GB, free: 8.488 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.5123, allocations: 108.2 kB / 0.7094 GB, free: 8.379 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.5124, allocations: 27.56 kB / 0.7094 GB, free: 8.352 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/0.5124, allocations: 37.62 kB / 0.7094 GB, free: 8.309 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.526e-05/0.5125, allocations: 322.8 kB / 0.7097 GB, free: 7.984 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.5128, allocations: 67.94 kB / 0.7098 GB, free: 7.918 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.513, allocations: 112.2 kB / 0.7099 GB, free: 7.793 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004489/0.5135, allocations: 176.1 kB / 0.7101 GB, free: 7.605 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5135, allocations: 0 / 0.7101 GB, free: 7.605 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009611/0.5144, allocations: 278.1 kB / 0.7103 GB, free: 7.324 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.5145, allocations: 13.19 kB / 0.7103 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.5145, allocations: 128 / 0.7103 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005649/0.5151, allocations: 88.75 kB / 0.7104 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.5153, allocations: 39.89 kB / 0.7105 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/0.5172, allocations: 1.653 MB / 0.7121 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.5174, allocations: 31.81 kB / 0.7121 GB, free: 5.359 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.5174, allocations: 4 kB / 0.7121 GB, free: 5.355 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.0001008/0.5175, allocations: 122.7 kB / 0.7122 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.5176, allocations: 11.91 kB / 0.7122 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009889/0.5186, allocations: 322 kB / 0.7125 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.5186, allocations: 0 / 0.7125 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-06/0.5186, allocations: 0 / 0.7125 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.5186, allocations: 192 / 0.7125 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.5189, allocations: 245.4 kB / 0.7128 GB, free: 4.609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5189, allocations: 0 / 0.7128 GB, free: 4.609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.5191, allocations: 39.94 kB / 0.7128 GB, free: 4.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004094/0.5195, allocations: 72.78 kB / 0.7129 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.5195, allocations: 7.922 kB / 0.7129 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/0.5212, allocations: 1.67 MB / 0.7145 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.5212, allocations: 12 kB / 0.7145 GB, free: 2.656 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009632/0.5222, allocations: 380 kB / 0.7149 GB, free: 2.266 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.065e-05/0.5223, allocations: 104.9 kB / 0.715 GB, free: 2.145 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.5223, allocations: 0 / 0.715 GB, free: 2.145 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.5226, allocations: 19.92 kB / 0.715 GB, free: 2.125 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.5226, allocations: 15.92 kB / 0.715 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.5226, allocations: 11.98 kB / 0.715 GB, free: 2.098 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.135e-05/0.5227, allocations: 117.2 kB / 0.7152 GB, free: 1.984 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.313e-06/0.5227, allocations: 0 / 0.7152 GB, free: 1.984 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003173/0.5231, allocations: 43.94 kB / 0.7152 GB, free: 1.941 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.0001643/0.5232, allocations: 111.2 kB / 0.7153 GB, free: 1.824 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000817/0.524, allocations: 314.4 kB / 0.7156 GB, free: 1.504 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5241, allocations: 4.25 kB / 0.7156 GB, free: 1.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004885/0.5246, allocations: 230.5 kB / 0.7158 GB, free: 1.262 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.5249, allocations: 15.98 kB / 0.7158 GB, free: 1.246 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007643/0.5256, allocations: 317.9 kB / 0.7162 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.5259, allocations: 0.7124 MB / 0.7168 GB, free: 172 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001264/0.526, allocations: 25 kB / 0.7169 GB, free: 148 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.878e-05/0.5261, allocations: 19.42 kB / 0.7169 GB, free: 132 kB / 0.545 GB Notification: Performance of SimCode: time 3.8e-07/0.5261, allocations: 0 / 0.7169 GB, free: 132 kB / 0.545 GB Notification: Performance of Templates: time 0.006391/0.5325, allocations: 3.218 MB / 0.72 GB, free: 12.94 MB / 0.5606 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)