Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.001009/0.001009, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009963/0.0009963, allocations: 181 kB / 23.36 MB, free: 1.129 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.06/1.06, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.001668/0.001668, allocations: 242.4 kB / 260.5 MB, free: 12.71 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.7429/0.7429, allocations: 138.4 MB / 402.2 MB, free: 0.5664 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_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 462.3 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/2.016e-05, allocations: 6.391 kB / 462.3 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.00279/0.002811, allocations: 1.712 MB / 464 MB, free: 15.77 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1305/0.1333, allocations: 143.1 MB / 0.5929 GB, free: 1.66 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.941e-05/0.1334, allocations: 3.938 kB / 0.5929 GB, free: 1.656 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.1336, allocations: 19.88 kB / 0.5929 GB, free: 1.637 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0002573/0.1338, allocations: 55.5 kB / 0.5929 GB, free: 1.582 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.1342, allocations: 187.2 kB / 0.5931 GB, free: 1.398 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.000197/0.1344, allocations: 175.3 kB / 0.5933 GB, free: 1.227 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1345, allocations: 21.95 kB / 0.5933 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009873/0.1355, allocations: 276.6 kB / 0.5936 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 9.043e-05/0.1356, allocations: 51.86 kB / 0.5936 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.1356, allocations: 8 kB / 0.5936 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.1358, allocations: 163.7 kB / 0.5938 GB, free: 0.8008 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 4.061e-05/0.1359, allocations: 23.91 kB / 0.5938 GB, free: 0.7773 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 4.674e-05/0.1359, allocations: 39.89 kB / 0.5938 GB, free: 0.7383 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.1362, allocations: 207.3 kB / 0.594 GB, free: 0.5352 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1362, allocations: 4 kB / 0.594 GB, free: 0.5312 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1362, allocations: 0 / 0.594 GB, free: 0.5312 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.1362, allocations: 0 / 0.594 GB, free: 0.5312 MB / 0.5417 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.000538/0.1368, allocations: 362 kB / 0.5944 GB, free: 164 kB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.1368, allocations: 8.75 kB / 0.5944 GB, free: 156 kB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005334/0.1373, allocations: 92.77 kB / 0.5945 GB, free: 64 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.1375, allocations: 134.7 kB / 0.5946 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1375, allocations: 8.125 kB / 0.5946 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.1376, allocations: 15.98 kB / 0.5946 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.1378, allocations: 160.5 kB / 0.5948 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1378, allocations: 0 / 0.5948 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.1378, allocations: 4 kB / 0.5948 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.1378, allocations: 0 / 0.5948 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.65e-05/0.1379, allocations: 44.7 kB / 0.5948 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006181/0.1385, allocations: 0.5931 MB / 0.5954 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.1387, allocations: 66.56 kB / 0.5955 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.91e-05/0.1387, allocations: 26.92 kB / 0.5955 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.1387, allocations: 0 / 0.5955 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.1387, allocations: 46.48 kB / 0.5955 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.1387, allocations: 0 / 0.5955 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0007402/0.1395, allocations: 209.1 kB / 0.5957 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.1395, allocations: 55.5 kB / 0.5958 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.115e-05/0.1396, allocations: 146 kB / 0.5959 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1396, allocations: 29.7 kB / 0.596 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.07e-05/0.1397, allocations: 116 kB / 0.5961 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.1397, allocations: 31.72 kB / 0.5961 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.539e-05/0.1398, allocations: 29.7 kB / 0.5961 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.244e-05/0.1398, allocations: 318.8 kB / 0.5964 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.087e-05/0.1399, allocations: 16.73 kB / 0.5964 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.752e-05/0.1399, allocations: 53.58 kB / 0.5965 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.1401, allocations: 83.02 kB / 0.5966 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1401, allocations: 0 / 0.5966 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003869/0.1404, allocations: 157.1 kB / 0.5967 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1405, allocations: 8 kB / 0.5967 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1405, allocations: 3.984 kB / 0.5967 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004834/0.1409, allocations: 120.2 kB / 0.5969 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.141, allocations: 31.91 kB / 0.5969 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/0.1422, allocations: 1.33 MB / 0.5982 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.546e-05/0.1423, allocations: 19.94 kB / 0.5982 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.1423, allocations: 7.094 kB / 0.5982 GB, free: 11.95 MB / 0.5573 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 7.74e-05/0.1424, allocations: 120.6 kB / 0.5983 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.1425, allocations: 12.02 kB / 0.5983 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003768/0.1428, allocations: 190.6 kB / 0.5985 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1428, allocations: 3.984 kB / 0.5985 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.1428, allocations: 0 / 0.5985 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1428, allocations: 1.375 kB / 0.5985 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.143, allocations: 109.8 kB / 0.5986 GB, free: 11.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.143, allocations: 0 / 0.5986 GB, free: 11.49 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.505e-05/0.1431, allocations: 19.98 kB / 0.5986 GB, free: 11.47 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003641/0.1435, allocations: 118.4 kB / 0.5988 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.1435, allocations: 11.88 kB / 0.5988 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009935/0.1445, allocations: 1.345 MB / 0.6001 GB, free: 9.891 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1445, allocations: 3.984 kB / 0.6001 GB, free: 9.887 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.1448, allocations: 263.6 kB / 0.6003 GB, free: 9.609 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.1449, allocations: 15.94 kB / 0.6004 GB, free: 9.594 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.1449, allocations: 4 kB / 0.6004 GB, free: 9.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.509e-05/0.145, allocations: 4 kB / 0.6004 GB, free: 9.586 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.145, allocations: 19.22 kB / 0.6004 GB, free: 9.57 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.145, allocations: 7.938 kB / 0.6004 GB, free: 9.562 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.065e-05/0.1451, allocations: 35.06 kB / 0.6004 GB, free: 9.527 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.1451, allocations: 4 kB / 0.6004 GB, free: 9.523 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002765/0.1453, allocations: 43.94 kB / 0.6005 GB, free: 9.48 MB / 0.5573 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.0001387/0.1455, allocations: 92.34 kB / 0.6006 GB, free: 9.383 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003134/0.1458, allocations: 210.7 kB / 0.6008 GB, free: 9.164 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.1458, allocations: 0 / 0.6008 GB, free: 9.164 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.146, allocations: 184.1 kB / 0.6009 GB, free: 8.969 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.1462, allocations: 27.55 kB / 0.601 GB, free: 8.945 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007104/0.1469, allocations: 307.2 kB / 0.6012 GB, free: 8.621 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.373e-05/0.147, allocations: 71.8 kB / 0.6013 GB, free: 8.531 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 9.269e-05/0.147, allocations: 21.52 kB / 0.6013 GB, free: 8.512 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.1472, allocations: 79.28 kB / 0.6014 GB, free: 8.438 MB / 0.5573 GB Notification: Performance of SimCode: time 7.51e-07/0.1472, allocations: 0 / 0.6014 GB, free: 8.438 MB / 0.5573 GB Notification: Performance of Templates: time 0.005735/0.1529, allocations: 3.329 MB / 0.6047 GB, free: 5.258 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.79148839507252]