Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json 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/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 193.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.758/2.758, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.7 kB / 0.912 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3155, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003352/0.3189, allocations: 1.911 MB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1775/0.4964, allocations: 155.4 MB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000286/0.4967, allocations: 3.938 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.4971, allocations: 27.73 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000463/0.4975, allocations: 71.42 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.4986, allocations: 267.1 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004399/0.499, allocations: 263.1 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000223/0.4992, allocations: 74.59 kB / 1.222 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.5006, allocations: 238.9 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.5008, allocations: 91.59 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.377e-05/0.5009, allocations: 16 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004498/0.5013, allocations: 183.7 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.603e-05/0.5014, allocations: 43.83 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.5015, allocations: 91.52 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005983/0.5021, allocations: 279.2 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.5022, allocations: 0 / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.477e-06/0.5022, allocations: 4 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.5022, allocations: 3.938 kB / 1.223 GB, free: 10.9 MB / 0.9825 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.001166/0.5034, allocations: 0.5261 MB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.5034, allocations: 12.03 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008962/0.5043, allocations: 75.73 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.5046, allocations: 231.1 kB / 1.224 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-05/0.5047, allocations: 42.03 kB / 1.224 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.5048, allocations: 12 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005714/0.5053, allocations: 270.5 kB / 1.225 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.5054, allocations: 3.938 kB / 1.225 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.5054, allocations: 8 kB / 1.225 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.5054, allocations: 8 kB / 1.225 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.5059, allocations: 164.3 kB / 1.225 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.5076, allocations: 1.188 MB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007531/0.5084, allocations: 198.7 kB / 1.226 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.5086, allocations: 76.75 kB / 1.226 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.5086, allocations: 3.938 kB / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.5086, allocations: 42.56 kB / 1.226 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 3.006e-06/0.5087, allocations: 3.984 kB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.002794/0.5115, allocations: 0.6258 MB / 1.227 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.5115, allocations: 55.41 kB / 1.227 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.5118, allocations: 211 kB / 1.227 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.5118, allocations: 29.7 kB / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.219e-05/0.5119, allocations: 140 kB / 1.227 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.5119, allocations: 39.41 kB / 1.227 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.904e-05/0.512, allocations: 53.58 kB / 1.227 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.5122, allocations: 326.8 kB / 1.228 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.5124, allocations: 67.94 kB / 1.228 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.5127, allocations: 143.2 kB / 1.228 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/0.5131, allocations: 206.1 kB / 1.228 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5131, allocations: 0 / 1.228 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001524/0.5147, allocations: 370.7 kB / 1.228 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.5147, allocations: 8.219 kB / 1.228 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.5147, allocations: 7.984 kB / 1.228 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.5159, allocations: 161.5 kB / 1.229 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.5161, allocations: 43.95 kB / 1.229 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004037/0.5202, allocations: 3.243 MB / 1.232 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/0.5205, allocations: 31.77 kB / 1.232 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.5206, allocations: 11.98 kB / 1.232 GB, free: 1.648 MB / 0.9825 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.0001524/0.5207, allocations: 137.8 kB / 1.232 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/0.5208, allocations: 19.72 kB / 1.232 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.5222, allocations: 372.3 kB / 1.232 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.5222, allocations: 4 kB / 1.232 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5222, allocations: 4 kB / 1.232 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5222, allocations: 0 / 1.232 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.5226, allocations: 277.3 kB / 1.233 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.5226, allocations: 192 / 1.233 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.5227, allocations: 23.98 kB / 1.233 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008679/0.5236, allocations: 149.5 kB / 1.233 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.5236, allocations: 4 kB / 1.233 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003726/0.5274, allocations: 3.293 MB / 1.236 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5274, allocations: 0 / 1.236 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.5288, allocations: 433.9 kB / 1.236 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.5289, allocations: 120.8 kB / 1.236 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.529, allocations: 0 / 1.236 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/0.5293, allocations: 19.92 kB / 1.236 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/0.5294, allocations: 19.97 kB / 1.237 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.5294, allocations: 8 kB / 1.237 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001891/0.5296, allocations: 163.1 kB / 1.237 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5296, allocations: 0 / 1.237 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004447/0.5301, allocations: 72 kB / 1.237 GB, free: 12.16 MB / 0.9981 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.0001966/0.5303, allocations: 111.2 kB / 1.237 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.5314, allocations: 466 kB / 1.237 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5314, allocations: 4 kB / 1.237 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006869/0.5321, allocations: 349.3 kB / 1.238 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.5326, allocations: 55.89 kB / 1.238 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009823/0.5336, allocations: 432.3 kB / 1.238 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.5339, allocations: 0.7363 MB / 1.239 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002237/0.5341, allocations: 37.88 kB / 1.239 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.282e-05/0.5342, allocations: 23.42 kB / 1.239 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/0.5342, allocations: 3.938 kB / 1.239 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of Templates: time 0.01034/0.5445, allocations: 5.289 MB / 1.244 GB, free: 4.637 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)