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.0009206/0.0009206, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.0009714/0.0009714, allocations: 173.7 kB / 23.28 MB, free: 1.219 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 0.9421/0.9421, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.001665/0.001665, allocations: 253.5 kB / 260.5 MB, free: 12.66 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.69/0.69, allocations: 138.4 MB / 455.5 MB, free: 1.34 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 1.523e-06/1.523e-06, allocations: 0 / 0.5556 GB, free: 216 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152e-05/1.305e-05, allocations: 5.406 kB / 0.5556 GB, free: 212 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001864/0.001877, allocations: 1.7 MB / 0.5572 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3484/0.3502, allocations: 141 MB / 0.6949 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.553e-05/0.3503, allocations: 0 / 0.6949 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.3505, allocations: 22.17 kB / 0.6949 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.3507, allocations: 49.59 kB / 0.695 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.351, allocations: 201.9 kB / 0.6952 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.3511, allocations: 162 kB / 0.6953 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.985e-05/0.3512, allocations: 21.73 kB / 0.6954 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008903/0.3521, allocations: 282 kB / 0.6956 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.454e-05/0.3522, allocations: 46.84 kB / 0.6957 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.3522, allocations: 11 kB / 0.6957 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.3524, allocations: 167.6 kB / 0.6958 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.142e-05/0.3525, allocations: 30.97 kB / 0.6959 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.3525, allocations: 36.31 kB / 0.6959 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.3528, allocations: 204.8 kB / 0.6961 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3528, allocations: 0 / 0.6961 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3528, allocations: 0 / 0.6961 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.3528, allocations: 0 / 0.6961 GB, free: 12.41 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004404/0.3532, allocations: 498.3 kB / 0.6966 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.3532, allocations: 8.75 kB / 0.6966 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005104/0.3538, allocations: 80.75 kB / 0.6967 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.3539, allocations: 156.3 kB / 0.6968 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.3539, allocations: 8.875 kB / 0.6968 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.3539, allocations: 7.938 kB / 0.6968 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.3541, allocations: 172.7 kB / 0.697 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3541, allocations: 3.938 kB / 0.697 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.3541, allocations: 0 / 0.697 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3541, allocations: 8 kB / 0.697 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.712e-05/0.3542, allocations: 48.45 kB / 0.697 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.3547, allocations: 0.8746 MB / 0.6979 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.3548, allocations: 75.03 kB / 0.698 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.447e-05/0.3549, allocations: 35.66 kB / 0.698 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.3549, allocations: 0 / 0.698 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.289e-05/0.3549, allocations: 37.55 kB / 0.698 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.3549, allocations: 3.938 kB / 0.698 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0007448/0.3556, allocations: 248.5 kB / 0.6983 GB, free: 10 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.412e-05/0.3557, allocations: 51.41 kB / 0.6983 GB, free: 9.941 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.621e-05/0.3557, allocations: 201.8 kB / 0.6985 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.3557, allocations: 25.7 kB / 0.6985 GB, free: 9.695 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.3558, allocations: 158.8 kB / 0.6987 GB, free: 9.535 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.3558, allocations: 27.75 kB / 0.6987 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.3558, allocations: 39.33 kB / 0.6988 GB, free: 9.461 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.972e-05/0.3559, allocations: 0.4923 MB / 0.6992 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.891e-05/0.3559, allocations: 27.91 kB / 0.6993 GB, free: 8.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.203e-05/0.356, allocations: 67.3 kB / 0.6993 GB, free: 8.844 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.3561, allocations: 94.33 kB / 0.6994 GB, free: 8.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3561, allocations: 4 kB / 0.6994 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000382/0.3565, allocations: 181 kB / 0.6996 GB, free: 8.539 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.3565, allocations: 10.03 kB / 0.6996 GB, free: 8.531 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3565, allocations: 0.5 kB / 0.6996 GB, free: 8.531 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004662/0.3569, allocations: 127.7 kB / 0.6997 GB, free: 8.402 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.357, allocations: 23.92 kB / 0.6998 GB, free: 8.379 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009764/0.358, allocations: 1.883 MB / 0.7016 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.219e-05/0.3581, allocations: 19.98 kB / 0.7016 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.3581, allocations: 7.984 kB / 0.7016 GB, free: 6.355 MB / 0.5105 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 5.273e-05/0.3582, allocations: 160.6 kB / 0.7018 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.3582, allocations: 11.89 kB / 0.7018 GB, free: 6.176 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003796/0.3586, allocations: 202 kB / 0.702 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.3586, allocations: 0 / 0.702 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.3586, allocations: 4 kB / 0.702 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3586, allocations: 4 kB / 0.702 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.3587, allocations: 145.1 kB / 0.7021 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3587, allocations: 0 / 0.7021 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.431e-05/0.3588, allocations: 27.91 kB / 0.7021 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003616/0.3592, allocations: 115.5 kB / 0.7023 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.3592, allocations: 4 kB / 0.7023 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008094/0.36, allocations: 1.884 MB / 0.7041 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.36, allocations: 7.062 kB / 0.7041 GB, free: 3.641 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.3604, allocations: 329.8 kB / 0.7044 GB, free: 3.297 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.3604, allocations: 15.97 kB / 0.7044 GB, free: 3.281 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.3604, allocations: 12 kB / 0.7044 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3605, allocations: 7.984 kB / 0.7045 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.3606, allocations: 19.91 kB / 0.7045 GB, free: 3.242 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.3606, allocations: 4 kB / 0.7045 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.843e-05/0.3606, allocations: 149.3 kB / 0.7046 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.3606, allocations: 0 / 0.7046 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002807/0.3609, allocations: 51.89 kB / 0.7047 GB, free: 3.043 MB / 0.5105 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.0001175/0.361, allocations: 115.2 kB / 0.7048 GB, free: 2.922 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002945/0.3613, allocations: 270 kB / 0.705 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3613, allocations: 0 / 0.705 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.3615, allocations: 255 kB / 0.7053 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.3617, allocations: 25.62 kB / 0.7053 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006647/0.3624, allocations: 295.8 kB / 0.7056 GB, free: 2.039 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.21e-05/0.3624, allocations: 79.77 kB / 0.7057 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.746e-05/0.3625, allocations: 16.5 kB / 0.7057 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.37e-05/0.3626, allocations: 94.17 kB / 0.7058 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of SimCode: time 4.51e-07/0.3626, allocations: 4 kB / 0.7058 GB, free: 1.828 MB / 0.5105 GB Notification: Performance of Templates: time 0.005413/0.368, allocations: 3.464 MB / 0.7092 GB, free: 14.47 MB / 0.5261 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.758522911928594]