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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 81.92 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 173.7 kB / 23.28 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.012/1.012, allocations: 177.1 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002045/0.002045, allocations: 249.8 kB / 260.5 MB, free: 12.67 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7184/0.7184, allocations: 138.4 MB / 455.5 MB, free: 1.402 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 0.5556 GB, free: 272 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.458e-05, allocations: 12.78 kB / 0.5556 GB, free: 260 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002375/0.0024, allocations: 1.933 MB / 0.5575 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3359/0.3383, allocations: 144.9 MB / 0.699 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.3385, allocations: 4 kB / 0.699 GB, free: 9.438 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.3387, allocations: 19.73 kB / 0.699 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.3389, allocations: 91.22 kB / 0.6991 GB, free: 9.328 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005805/0.3395, allocations: 263 kB / 0.6993 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.3397, allocations: 271 kB / 0.6996 GB, free: 8.805 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.3399, allocations: 51.33 kB / 0.6996 GB, free: 8.758 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009691/0.3408, allocations: 356.4 kB / 0.7 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 9.936e-05/0.3409, allocations: 75.78 kB / 0.7 GB, free: 8.418 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.341, allocations: 16 kB / 0.7001 GB, free: 8.402 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002594/0.3412, allocations: 175.6 kB / 0.7002 GB, free: 8.23 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 5.241e-05/0.3413, allocations: 47.88 kB / 0.7003 GB, free: 8.184 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.949e-05/0.3413, allocations: 67.77 kB / 0.7003 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.3417, allocations: 271 kB / 0.7006 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 9.377e-06/0.3417, allocations: 0 / 0.7006 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.325e-06/0.3417, allocations: 0 / 0.7006 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.3417, allocations: 4 kB / 0.7006 GB, free: 7.848 MB / 0.5105 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.0005489/0.3422, allocations: 0.5522 MB / 0.7011 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.3423, allocations: 8.75 kB / 0.7011 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006264/0.3429, allocations: 151.7 kB / 0.7013 GB, free: 7.105 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.3431, allocations: 183.7 kB / 0.7015 GB, free: 6.898 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/0.3431, allocations: 63.73 kB / 0.7015 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.3432, allocations: 12 kB / 0.7015 GB, free: 6.812 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.3434, allocations: 297.3 kB / 0.7018 GB, free: 6.469 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3434, allocations: 3.938 kB / 0.7018 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.3434, allocations: 8 kB / 0.7018 GB, free: 6.457 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.3434, allocations: 8.75 kB / 0.7018 GB, free: 6.449 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.837e-05/0.3435, allocations: 77.19 kB / 0.7019 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007617/0.3443, allocations: 1.383 MB / 0.7033 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.3446, allocations: 154.6 kB / 0.7034 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/0.3447, allocations: 31.67 kB / 0.7034 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.3447, allocations: 11.94 kB / 0.7035 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.3447, allocations: 37.33 kB / 0.7035 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 1.452e-06/0.3447, allocations: 0 / 0.7035 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12): time 0.001029/0.3457, allocations: 381.2 kB / 0.7039 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.775e-05/0.3457, allocations: 51.41 kB / 0.7039 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.3458, allocations: 241.7 kB / 0.7041 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.3459, allocations: 25.7 kB / 0.7042 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.3459, allocations: 190.9 kB / 0.7043 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.3459, allocations: 47.58 kB / 0.7044 GB, free: 3.703 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.346, allocations: 51.33 kB / 0.7044 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.461e-05/0.346, allocations: 0.4962 MB / 0.7049 GB, free: 3.137 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.243e-05/0.3461, allocations: 27.97 kB / 0.7049 GB, free: 3.109 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.879e-05/0.3461, allocations: 98.27 kB / 0.705 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.3462, allocations: 149.3 kB / 0.7052 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3462, allocations: 0 / 0.7052 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005209/0.3468, allocations: 296 kB / 0.7055 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3468, allocations: 4 kB / 0.7055 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3468, allocations: 4 kB / 0.7055 GB, free: 2.492 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000709/0.3475, allocations: 239.1 kB / 0.7057 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.3476, allocations: 31.97 kB / 0.7057 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/0.35, allocations: 3.736 MB / 0.7094 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.3502, allocations: 28.72 kB / 0.7094 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.3502, allocations: 7.984 kB / 0.7094 GB, free: 14.21 MB / 0.5261 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.0001179/0.3503, allocations: 172.4 kB / 0.7096 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.3503, allocations: 23.91 kB / 0.7096 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005205/0.3509, allocations: 283.2 kB / 0.7099 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3509, allocations: 3.984 kB / 0.7099 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.3509, allocations: 0 / 0.7099 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3509, allocations: 4 kB / 0.7099 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.3511, allocations: 164.2 kB / 0.71 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3511, allocations: 7.125 kB / 0.71 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.401e-05/0.3511, allocations: 23.92 kB / 0.7101 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005945/0.3517, allocations: 219.1 kB / 0.7103 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.3517, allocations: 0 / 0.7103 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/0.3537, allocations: 3.766 MB / 0.7139 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3537, allocations: 4 kB / 0.714 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005132/0.3542, allocations: 406.7 kB / 0.7143 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/0.3543, allocations: 31.88 kB / 0.7144 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.3543, allocations: 4 kB / 0.7144 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.3544, allocations: 8 kB / 0.7144 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.3545, allocations: 19.95 kB / 0.7144 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.3545, allocations: 11.94 kB / 0.7144 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.105e-05/0.3545, allocations: 165 kB / 0.7146 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.3545, allocations: 0 / 0.7146 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003/0.3548, allocations: 79.81 kB / 0.7146 GB, free: 8.539 MB / 0.5261 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.0001571/0.355, allocations: 115.2 kB / 0.7148 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004739/0.3555, allocations: 484.8 kB / 0.7152 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3555, allocations: 0 / 0.7152 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002953/0.3558, allocations: 449.4 kB / 0.7156 GB, free: 7.434 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.356, allocations: 50.66 kB / 0.7157 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008346/0.3569, allocations: 424.4 kB / 0.7161 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.51e-05/0.3569, allocations: 80.19 kB / 0.7162 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.063e-05/0.357, allocations: 25.48 kB / 0.7162 GB, free: 6.828 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.3571, allocations: 114.2 kB / 0.7163 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of SimCode: time 1.182e-06/0.3571, allocations: 0 / 0.7163 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of Templates: time 0.008419/0.3656, allocations: 5.302 MB / 0.7215 GB, free: 1.562 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.09135765908286]