Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.00113/0.00113, allocations: 108 kB / 15.61 MB, free: 152 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.001437/0.001437, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.814/2.814, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 65.02 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3146, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00316/0.3178, allocations: 1.911 MB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1714/0.4892, allocations: 155.4 MB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/0.4894, allocations: 4 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.4896, allocations: 31.67 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.4899, allocations: 75.41 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007601/0.4907, allocations: 263.2 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002801/0.491, allocations: 267.1 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.4912, allocations: 74.61 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/0.4924, allocations: 238.9 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.4926, allocations: 99.59 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.946e-05/0.4927, allocations: 16 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003684/0.493, allocations: 179.7 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.468e-05/0.4931, allocations: 39.84 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.4932, allocations: 103.5 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004175/0.4936, allocations: 271.2 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.4937, allocations: 0 / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.096e-06/0.4937, allocations: 4 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.4937, allocations: 0 / 1.223 GB, free: 10.92 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.0009659/0.4947, allocations: 0.5261 MB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.4947, allocations: 12.02 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008479/0.4956, allocations: 79.73 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.4958, allocations: 235.5 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.767e-05/0.4959, allocations: 38.03 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.496, allocations: 20 kB / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005506/0.4965, allocations: 262.5 kB / 1.225 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.4965, allocations: 0 / 1.225 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/0.4966, allocations: 8 kB / 1.225 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.4966, allocations: 4 kB / 1.225 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/0.4971, allocations: 168.3 kB / 1.225 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.4988, allocations: 1.192 MB / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007486/0.4995, allocations: 202.6 kB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.4997, allocations: 72.81 kB / 1.226 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.4998, allocations: 7.938 kB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.4998, allocations: 30.56 kB / 1.226 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.4998, allocations: 0 / 1.226 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.002713/0.5025, allocations: 0.6258 MB / 1.227 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.5026, allocations: 55.41 kB / 1.227 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.5028, allocations: 211 kB / 1.227 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.5029, allocations: 33.7 kB / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.879e-05/0.503, allocations: 132 kB / 1.227 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.503, allocations: 39.39 kB / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.156e-05/0.5031, allocations: 49.59 kB / 1.227 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002064/0.5033, allocations: 334.8 kB / 1.228 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.5036, allocations: 71.95 kB / 1.228 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/0.5038, allocations: 134.2 kB / 1.228 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004377/0.5043, allocations: 202.8 kB / 1.228 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5043, allocations: 0 / 1.228 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001469/0.5058, allocations: 386.6 kB / 1.228 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.5058, allocations: 4 kB / 1.228 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.5058, allocations: 4 kB / 1.228 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.5069, allocations: 161.8 kB / 1.229 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.5071, allocations: 39.91 kB / 1.229 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004378/0.5115, allocations: 3.254 MB / 1.232 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.5119, allocations: 35.83 kB / 1.232 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.512, allocations: 11.98 kB / 1.232 GB, free: 1.664 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.0001719/0.5121, allocations: 129.7 kB / 1.232 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.37e-05/0.5122, allocations: 23.72 kB / 1.232 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.5135, allocations: 372.3 kB / 1.232 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.5135, allocations: 0 / 1.232 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.5136, allocations: 0 / 1.232 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.5136, allocations: 0 / 1.232 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.5139, allocations: 285.3 kB / 1.233 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5139, allocations: 7.938 kB / 1.233 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.514, allocations: 23.98 kB / 1.233 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008283/0.5149, allocations: 133.6 kB / 1.233 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.5149, allocations: 8 kB / 1.233 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003686/0.5186, allocations: 3.289 MB / 1.236 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5186, allocations: 128 / 1.236 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.5199, allocations: 441.8 kB / 1.236 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.52, allocations: 112.8 kB / 1.236 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.5201, allocations: 4 kB / 1.236 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.5204, allocations: 19.92 kB / 1.236 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.07e-05/0.5204, allocations: 20.16 kB / 1.236 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.5205, allocations: 8 kB / 1.237 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001881/0.5207, allocations: 163.1 kB / 1.237 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5207, allocations: 0 / 1.237 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004178/0.5211, allocations: 68 kB / 1.237 GB, free: 12.18 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.0001857/0.5213, allocations: 135.1 kB / 1.237 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.5224, allocations: 451.2 kB / 1.237 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5224, allocations: 3.938 kB / 1.237 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006792/0.5231, allocations: 349.3 kB / 1.238 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.5235, allocations: 51.89 kB / 1.238 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009709/0.5245, allocations: 432.2 kB / 1.238 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.5248, allocations: 0.7363 MB / 1.239 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002059/0.525, allocations: 41.86 kB / 1.239 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.507e-05/0.5251, allocations: 19.42 kB / 1.239 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.5251, allocations: 7.938 kB / 1.239 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of Templates: time 0.009897/0.535, allocations: 5.295 MB / 1.244 GB, free: 4.648 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)