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.001263/0.001263, allocations: 80.38 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001359/0.001359, allocations: 159.9 kB / 22.46 MB, free: 5.375 MB / 14.72 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.398/1.398, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.00244/0.00244, allocations: 237.2 kB / 259.4 MB, free: 468 kB / 238.1 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 1.048/1.048, allocations: 138.4 MB / 454.3 MB, free: 1.988 MB / 366.1 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.633e-06/1.633e-06, allocations: 0 / 0.6468 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.629e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003059/0.003085, allocations: 1.881 MB / 0.6486 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3976/0.4007, allocations: 136.7 MB / 0.7821 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.4008, allocations: 3.938 kB / 0.7821 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.401, allocations: 31.67 kB / 0.7822 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003198/0.4013, allocations: 75.41 kB / 0.7822 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007031/0.402, allocations: 267.5 kB / 0.7825 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003176/0.4023, allocations: 278.9 kB / 0.7828 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.4025, allocations: 46.59 kB / 0.7828 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.404, allocations: 290.5 kB / 0.7831 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.4041, allocations: 71.78 kB / 0.7831 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.4042, allocations: 16 kB / 0.7832 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/0.4045, allocations: 183.6 kB / 0.7833 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.665e-05/0.4046, allocations: 49.12 kB / 0.7834 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.091e-05/0.4047, allocations: 67.83 kB / 0.7834 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004923/0.4052, allocations: 319 kB / 0.7837 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4052, allocations: 0 / 0.7837 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4052, allocations: 0 / 0.7837 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.381e-06/0.4052, allocations: 0 / 0.7837 GB, free: 4.277 MB / 0.6075 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.0009382/0.4061, allocations: 473.7 kB / 0.7842 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.4062, allocations: 9.344 kB / 0.7842 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.4073, allocations: 111.8 kB / 0.7843 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.4076, allocations: 168.9 kB / 0.7845 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-05/0.4077, allocations: 68.72 kB / 0.7845 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.4077, allocations: 23.94 kB / 0.7846 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006034/0.4083, allocations: 318.5 kB / 0.7849 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4083, allocations: 3.188 kB / 0.7849 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.4084, allocations: 4 kB / 0.7849 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.4084, allocations: 8 kB / 0.7849 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004811/0.4089, allocations: 168.3 kB / 0.785 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.4105, allocations: 1.069 MB / 0.7861 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007897/0.4113, allocations: 194.7 kB / 0.7863 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.4115, allocations: 68.81 kB / 0.7863 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.4115, allocations: 0 / 0.7863 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.4115, allocations: 38.5 kB / 0.7864 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.4115, allocations: 0 / 0.7864 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.002708/0.4143, allocations: 486 kB / 0.7868 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.4143, allocations: 59.41 kB / 0.7869 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.4145, allocations: 187.1 kB / 0.7871 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.4145, allocations: 25.7 kB / 0.7871 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.06e-05/0.4146, allocations: 136.2 kB / 0.7872 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.4147, allocations: 47.64 kB / 0.7873 GB, free: 456 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-05/0.4148, allocations: 53.62 kB / 0.7873 GB, free: 396 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4149, allocations: 318.8 kB / 0.7876 GB, free: 68 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.4151, allocations: 71.02 kB / 0.7877 GB, free: 0 / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/0.4154, allocations: 168.5 kB / 0.7879 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004558/0.4159, allocations: 201 kB / 0.788 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4159, allocations: 4 kB / 0.7881 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00152/0.4174, allocations: 370.5 kB / 0.7884 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.4174, allocations: 4 kB / 0.7884 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.4174, allocations: 7.938 kB / 0.7884 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.4185, allocations: 161.5 kB / 0.7886 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.4187, allocations: 31.97 kB / 0.7886 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003949/0.4227, allocations: 3.004 MB / 0.7915 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003168/0.423, allocations: 27.86 kB / 0.7916 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.423, allocations: 12 kB / 0.7916 GB, free: 11.75 MB / 0.6231 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.0001351/0.4232, allocations: 137.8 kB / 0.7917 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.4232, allocations: 15.91 kB / 0.7917 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/0.4246, allocations: 363.1 kB / 0.7921 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.4246, allocations: 4 kB / 0.7921 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.4246, allocations: 0 / 0.7921 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.4246, allocations: 7.922 kB / 0.7921 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.4249, allocations: 189.1 kB / 0.7923 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4249, allocations: 0 / 0.7923 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.425, allocations: 19.98 kB / 0.7923 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008403/0.4258, allocations: 145.5 kB / 0.7924 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.4259, allocations: 4 kB / 0.7924 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003723/0.4296, allocations: 3.032 MB / 0.7954 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4296, allocations: 0 / 0.7954 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.4309, allocations: 435.2 kB / 0.7958 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.861e-05/0.431, allocations: 27.83 kB / 0.7958 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.431, allocations: 9.062 kB / 0.7958 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.4313, allocations: 19.97 kB / 0.7958 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.463e-05/0.4314, allocations: 19.91 kB / 0.7959 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.4314, allocations: 4 kB / 0.7959 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001602/0.4315, allocations: 140.8 kB / 0.796 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.4315, allocations: 0 / 0.796 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003946/0.4319, allocations: 79.83 kB / 0.7961 GB, free: 6.844 MB / 0.6231 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.0001902/0.4321, allocations: 111.2 kB / 0.7962 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001062/0.4332, allocations: 438.2 kB / 0.7966 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.4332, allocations: 8 kB / 0.7966 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007028/0.4339, allocations: 346.3 kB / 0.7969 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.4343, allocations: 53.8 kB / 0.797 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009268/0.4352, allocations: 427.6 kB / 0.7974 GB, free: 5.422 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.4353, allocations: 120.6 kB / 0.7975 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001402/0.4355, allocations: 33.42 kB / 0.7975 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/0.4355, allocations: 20.48 kB / 0.7976 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of SimCode: time 3.3e-07/0.4355, allocations: 0 / 0.7976 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of Templates: time 0.009943/0.4455, allocations: 4.883 MB / 0.8023 GB, free: 488 kB / 0.6231 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9820212461054325] Failed to read output from testmodel.py, exit status != 0: 0.45392250269651413 0.468027893 0.05991544 Calling exit ...