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.001586/0.001586, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002077/0.002077, allocations: 192 kB / 16.25 MB, free: 6.621 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.422/1.422, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.822/2.822, allocations: 472.6 MB / 0.7448 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 67.75 kB / 0.9115 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4143, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.005285/0.4196, allocations: 1.971 MB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1985/0.6182, allocations: 153.2 MB / 1.219 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000258/0.6185, allocations: 7.938 kB / 1.219 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.6188, allocations: 19.84 kB / 1.219 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004372/0.6193, allocations: 59.56 kB / 1.219 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008761/0.6201, allocations: 243.3 kB / 1.22 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004338/0.6206, allocations: 255.2 kB / 1.22 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002401/0.6208, allocations: 82.59 kB / 1.22 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002299/0.6231, allocations: 247.3 kB / 1.22 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.6234, allocations: 95.59 kB / 1.22 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.223e-05/0.6234, allocations: 16 kB / 1.22 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004159/0.6238, allocations: 183.7 kB / 1.22 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.222e-05/0.6239, allocations: 43.83 kB / 1.22 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.6241, allocations: 95.52 kB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005238/0.6246, allocations: 283.2 kB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6246, allocations: 4 kB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6246, allocations: 0 / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.6246, allocations: 0 / 1.221 GB, free: 13.5 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.001105/0.6257, allocations: 0.53 MB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.6258, allocations: 8.031 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009107/0.6267, allocations: 79.72 kB / 1.221 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.627, allocations: 230.6 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.3e-05/0.6271, allocations: 42.02 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/0.6271, allocations: 16 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005444/0.6277, allocations: 270.5 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.6277, allocations: 0 / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.6277, allocations: 8 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.6277, allocations: 4 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004561/0.6282, allocations: 163.8 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.63, allocations: 1.184 MB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007749/0.6308, allocations: 202.6 kB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.631, allocations: 76.75 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.631, allocations: 0 / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.6311, allocations: 42.56 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.001e-06/0.6311, allocations: 0 / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.002888/0.634, allocations: 0.6223 MB / 1.224 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.634, allocations: 55.41 kB / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.6343, allocations: 218.9 kB / 1.224 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.6344, allocations: 29.7 kB / 1.224 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.522e-05/0.6345, allocations: 140 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.954e-05/0.6345, allocations: 43.39 kB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.6346, allocations: 49.59 kB / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6348, allocations: 338.7 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.635, allocations: 67.94 kB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.6353, allocations: 135.6 kB / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004386/0.6357, allocations: 194.8 kB / 1.225 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6357, allocations: 0 / 1.225 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001527/0.6373, allocations: 378.6 kB / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.6373, allocations: 8.219 kB / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.6373, allocations: 4 kB / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/0.6385, allocations: 153.5 kB / 1.226 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.6387, allocations: 47.89 kB / 1.226 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004201/0.6429, allocations: 3.246 MB / 1.229 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003753/0.6433, allocations: 35.75 kB / 1.229 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.6433, allocations: 8 kB / 1.229 GB, free: 4.254 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.0001484/0.6435, allocations: 137.8 kB / 1.229 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-05/0.6436, allocations: 23.7 kB / 1.229 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.645, allocations: 373.9 kB / 1.23 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.645, allocations: 4 kB / 1.23 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.645, allocations: 0 / 1.23 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.645, allocations: 0 / 1.23 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/0.6453, allocations: 281.2 kB / 1.23 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.6454, allocations: 0 / 1.23 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.6455, allocations: 27.92 kB / 1.23 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008545/0.6464, allocations: 141.6 kB / 1.23 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.6464, allocations: 4 kB / 1.23 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003877/0.6503, allocations: 3.297 MB / 1.233 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6503, allocations: 0 / 1.233 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.6516, allocations: 433.8 kB / 1.234 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.6518, allocations: 120.7 kB / 1.234 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/0.6518, allocations: 7.984 kB / 1.234 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/0.6521, allocations: 11.98 kB / 1.234 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.895e-05/0.6522, allocations: 15.98 kB / 1.234 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.6523, allocations: 12.11 kB / 1.234 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002033/0.6525, allocations: 167.1 kB / 1.234 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6525, allocations: 0 / 1.234 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004568/0.6529, allocations: 67.91 kB / 1.234 GB, free: 14.75 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.000233/0.6532, allocations: 115.2 kB / 1.234 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001176/0.6544, allocations: 449.5 kB / 1.235 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6544, allocations: 0 / 1.235 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007076/0.6551, allocations: 355 kB / 1.235 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.6556, allocations: 62.12 kB / 1.235 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.6566, allocations: 496.5 kB / 1.236 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.657, allocations: 0.7363 MB / 1.236 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002254/0.6572, allocations: 41.91 kB / 1.236 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.306e-05/0.6573, allocations: 27.38 kB / 1.236 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.6573, allocations: 0 / 1.236 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.0107/0.668, allocations: 5.226 MB / 1.241 GB, free: 7.238 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)