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/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.822/0.822, allocations: 143.4 MB / 159.2 MB, free: 4.863 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001289, allocations: 180.5 kB / 191.9 MB, free: 5.734 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 222.9 MB / 447.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 103.2 kB / 0.517 GB, free: 3.703 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001945/0.001945, allocations: 283.4 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 87.86 kB / 0.6885 GB, free: 3.844 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3676, allocations: 81.29 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002359/0.37, allocations: 1.709 MB / 0.7696 GB, free: 25.96 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.5198/0.8898, allocations: 147.4 MB / 0.9135 GB, free: 0.6484 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.8901, allocations: 4.406 kB / 0.9135 GB, free: 0.6484 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.8904, allocations: 13.34 kB / 0.9135 GB, free: 0.6484 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.8907, allocations: 45.25 kB / 0.9136 GB, free: 0.6445 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006587/0.8914, allocations: 158.3 kB / 0.9137 GB, free: 0.6367 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000242/0.8916, allocations: 150.7 kB / 0.9139 GB, free: 0.6367 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.8918, allocations: 24.67 kB / 0.9139 GB, free: 0.6328 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002264/0.894, allocations: 170.3 kB / 0.9141 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.8942, allocations: 60.33 kB / 0.9141 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.8942, allocations: 5.594 kB / 0.9141 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004448/0.8947, allocations: 166.1 kB / 0.9143 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.8947, allocations: 22.69 kB / 0.9143 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 8.604e-05/0.8948, allocations: 46.25 kB / 0.9143 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.8952, allocations: 187.4 kB / 0.9145 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.8953, allocations: 0.7812 kB / 0.9145 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8953, allocations: 4 kB / 0.9145 GB, free: 0.6094 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.8953, allocations: 0.8438 kB / 0.9145 GB, free: 0.6094 MB / 0.5573 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.001045/0.8963, allocations: 455.2 kB / 0.915 GB, free: 16.22 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.8964, allocations: 13.62 kB / 0.915 GB, free: 16.21 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006332/0.897, allocations: 51.91 kB / 0.915 GB, free: 16.21 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.8973, allocations: 203.5 kB / 0.9152 GB, free: 16 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.8973, allocations: 6.875 kB / 0.9152 GB, free: 16 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.8974, allocations: 6.297 kB / 0.9152 GB, free: 16 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005097/0.8979, allocations: 194.3 kB / 0.9154 GB, free: 15.93 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.8979, allocations: 0.75 kB / 0.9154 GB, free: 15.93 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.898, allocations: 6 kB / 0.9154 GB, free: 15.92 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.898, allocations: 2.969 kB / 0.9154 GB, free: 15.92 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005684/0.8985, allocations: 148.8 kB / 0.9156 GB, free: 15.92 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.8999, allocations: 0.824 MB / 0.9164 GB, free: 15.23 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/0.9003, allocations: 137.5 kB / 0.9165 GB, free: 15.2 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.9006, allocations: 78.7 kB / 0.9166 GB, free: 15.19 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.9006, allocations: 4.875 kB / 0.9166 GB, free: 15.19 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.9007, allocations: 35.88 kB / 0.9166 GB, free: 15.15 MB / 0.573 GB Notification: Performance of pre-optimization done (n=8): time 1.944e-06/0.9007, allocations: 0 / 0.9166 GB, free: 15.15 MB / 0.573 GB Notification: Performance of matching and sorting (n=8): time 0.002039/0.9027, allocations: 462.1 kB / 0.9171 GB, free: 15 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.9028, allocations: 52.41 kB / 0.9171 GB, free: 14.94 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.9029, allocations: 147.6 kB / 0.9173 GB, free: 14.83 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.903, allocations: 29.7 kB / 0.9173 GB, free: 14.8 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.903, allocations: 107.3 kB / 0.9174 GB, free: 14.71 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.9031, allocations: 25.59 kB / 0.9174 GB, free: 14.69 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-05/0.9031, allocations: 32.67 kB / 0.9174 GB, free: 14.67 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.9033, allocations: 323.9 kB / 0.9178 GB, free: 14.36 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/0.9036, allocations: 68.58 kB / 0.9178 GB, free: 14.36 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.9038, allocations: 110.2 kB / 0.9179 GB, free: 14.32 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005357/0.9044, allocations: 173.6 kB / 0.9181 GB, free: 14.27 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.9044, allocations: 0 / 0.9181 GB, free: 14.27 MB / 0.573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001109/0.9055, allocations: 283.5 kB / 0.9184 GB, free: 14.22 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.9055, allocations: 6 kB / 0.9184 GB, free: 14.22 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.9056, allocations: 7.516 kB / 0.9184 GB, free: 14.22 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005989/0.9062, allocations: 85.55 kB / 0.9185 GB, free: 14.21 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.9064, allocations: 33.14 kB / 0.9185 GB, free: 14.21 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.9085, allocations: 1.55 MB / 0.92 GB, free: 12.91 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.9088, allocations: 17.06 kB / 0.92 GB, free: 12.91 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.9088, allocations: 10.25 kB / 0.92 GB, free: 12.91 MB / 0.573 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.0001305/0.9089, allocations: 126 kB / 0.9201 GB, free: 12.79 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.909, allocations: 12.72 kB / 0.9202 GB, free: 12.79 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.9102, allocations: 315 kB / 0.9205 GB, free: 12.73 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.9102, allocations: 6.234 kB / 0.9205 GB, free: 12.73 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.9102, allocations: 0 / 0.9205 GB, free: 12.73 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.9102, allocations: 6.094 kB / 0.9205 GB, free: 12.72 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.9105, allocations: 240.3 kB / 0.9207 GB, free: 12.53 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.9105, allocations: 1.094 kB / 0.9207 GB, free: 12.53 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.9107, allocations: 33.67 kB / 0.9207 GB, free: 12.52 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000508/0.9112, allocations: 83.98 kB / 0.9208 GB, free: 12.51 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.9113, allocations: 3.266 kB / 0.9208 GB, free: 12.51 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001965/0.9132, allocations: 1.583 MB / 0.9224 GB, free: 11.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.9133, allocations: 0.625 kB / 0.9224 GB, free: 11.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.915, allocations: 1.02 MB / 0.9234 GB, free: 10.47 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.9151, allocations: 84.23 kB / 0.9234 GB, free: 10.37 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.9152, allocations: 4.047 kB / 0.9234 GB, free: 10.37 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.9154, allocations: 16.69 kB / 0.9235 GB, free: 10.37 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/0.9155, allocations: 19.83 kB / 0.9235 GB, free: 10.37 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.9155, allocations: 4 kB / 0.9235 GB, free: 10.37 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001053/0.9156, allocations: 104.5 kB / 0.9236 GB, free: 10.29 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9156, allocations: 4 kB / 0.9236 GB, free: 10.29 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005026/0.9162, allocations: 44.66 kB / 0.9236 GB, free: 10.29 MB / 0.573 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.0002486/0.9164, allocations: 116.4 kB / 0.9237 GB, free: 10.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001112/0.9175, allocations: 311.3 kB / 0.924 GB, free: 10.08 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.9176, allocations: 1.203 kB / 0.924 GB, free: 10.08 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005954/0.9182, allocations: 235 kB / 0.9243 GB, free: 9.957 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.9185, allocations: 21.67 kB / 0.9243 GB, free: 9.957 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009969/0.9195, allocations: 467.2 kB / 0.9247 GB, free: 9.652 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.9198, allocations: 0.7128 MB / 0.9254 GB, free: 8.953 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001852/0.92, allocations: 26.81 kB / 0.9254 GB, free: 8.941 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.198e-05/0.9201, allocations: 26.06 kB / 0.9255 GB, free: 8.93 MB / 0.573 GB Notification: Performance of SimCode: time 3.7e-07/0.9201, allocations: 0 / 0.9255 GB, free: 8.93 MB / 0.573 GB Notification: Performance of Templates: time 0.006543/0.9266, allocations: 3.057 MB / 0.9285 GB, free: 8.738 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)