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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.004905/0.004905, allocations: 99.89 kB / 15.73 MB, free: 6.043 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.001188/0.001188, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002071/0.002071, allocations: 287.7 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9208/0.9208, allocations: 169.2 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 100.3 kB / 0.6814 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4116, allocations: 86.97 MB / 0.7664 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003893/0.4156, allocations: 1.918 MB / 0.7682 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1669/0.5825, allocations: 155.4 MB / 0.92 GB, free: 5.957 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.5828, allocations: 7.938 kB / 0.92 GB, free: 5.949 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.5831, allocations: 23.73 kB / 0.92 GB, free: 5.926 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0003985/0.5835, allocations: 71.41 kB / 0.9201 GB, free: 5.855 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008012/0.5843, allocations: 267.1 kB / 0.9204 GB, free: 5.594 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0004051/0.5847, allocations: 271.1 kB / 0.9206 GB, free: 5.328 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.5849, allocations: 66.41 kB / 0.9207 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001442/0.5864, allocations: 249.5 kB / 0.9209 GB, free: 5.043 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.5866, allocations: 91.61 kB / 0.921 GB, free: 4.953 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 5.009e-05/0.5866, allocations: 23.98 kB / 0.921 GB, free: 4.93 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003977/0.587, allocations: 183.7 kB / 0.9212 GB, free: 4.75 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 7.008e-05/0.5871, allocations: 43.89 kB / 0.9213 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.5873, allocations: 95.52 kB / 0.9214 GB, free: 4.613 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0005541/0.5878, allocations: 285.6 kB / 0.9216 GB, free: 4.336 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5878, allocations: 0 / 0.9216 GB, free: 4.336 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5878, allocations: 0 / 0.9216 GB, free: 4.336 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.5879, allocations: 0 / 0.9216 GB, free: 4.336 MB / 0.6856 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.0009919/0.5889, allocations: 0.5223 MB / 0.9221 GB, free: 3.766 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.5889, allocations: 12.03 kB / 0.9221 GB, free: 3.754 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008674/0.5898, allocations: 83.64 kB / 0.9222 GB, free: 3.672 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.5901, allocations: 230.6 kB / 0.9224 GB, free: 3.406 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-05/0.5902, allocations: 42.02 kB / 0.9225 GB, free: 3.359 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.688e-05/0.5902, allocations: 20 kB / 0.9225 GB, free: 3.34 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005397/0.5908, allocations: 258.6 kB / 0.9228 GB, free: 3.059 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.5908, allocations: 0 / 0.9228 GB, free: 3.059 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.5908, allocations: 11.98 kB / 0.9228 GB, free: 3.047 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.5908, allocations: 8 kB / 0.9228 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004758/0.5913, allocations: 167.7 kB / 0.9229 GB, free: 2.875 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.593, allocations: 1.173 MB / 0.9241 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007451/0.5937, allocations: 214.6 kB / 0.9243 GB, free: 1.406 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.5939, allocations: 72.81 kB / 0.9243 GB, free: 1.332 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.5939, allocations: 4 kB / 0.9244 GB, free: 1.328 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.594, allocations: 30.56 kB / 0.9244 GB, free: 1.289 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.594, allocations: 0 / 0.9244 GB, free: 1.289 MB / 0.6856 GB Notification: Performance of matching and sorting (n=12): time 0.002658/0.5966, allocations: 0.6297 MB / 0.925 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.5967, allocations: 55.41 kB / 0.925 GB, free: 0.543 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.5969, allocations: 215.6 kB / 0.9253 GB, free: 332 kB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.87e-05/0.597, allocations: 33.7 kB / 0.9253 GB, free: 292 kB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 8.178e-05/0.5971, allocations: 140 kB / 0.9254 GB, free: 148 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.5971, allocations: 35.45 kB / 0.9255 GB, free: 112 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.075e-05/0.5972, allocations: 49.59 kB / 0.9255 GB, free: 56 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5973, allocations: 334.8 kB / 0.9258 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.5976, allocations: 71.94 kB / 0.9259 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.5978, allocations: 133.3 kB / 0.926 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004204/0.5983, allocations: 201.3 kB / 0.9262 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5983, allocations: 0 / 0.9262 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001453/0.5997, allocations: 378.7 kB / 0.9266 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.5998, allocations: 4 kB / 0.9266 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.5998, allocations: 4 kB / 0.9266 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.6009, allocations: 157.8 kB / 0.9267 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.6011, allocations: 39.89 kB / 0.9268 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003833/0.6049, allocations: 3.251 MB / 0.9299 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.6053, allocations: 39.59 kB / 0.93 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.6053, allocations: 12 kB / 0.93 GB, free: 11.09 MB / 0.7012 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.0001375/0.6055, allocations: 128.2 kB / 0.9301 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.6055, allocations: 23.86 kB / 0.9301 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.6068, allocations: 368.3 kB / 0.9305 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.6068, allocations: 4.188 kB / 0.9305 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.6068, allocations: 7.875 kB / 0.9305 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.6068, allocations: 3.984 kB / 0.9305 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.6072, allocations: 281.3 kB / 0.9308 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6072, allocations: 0 / 0.9308 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.6073, allocations: 23.98 kB / 0.9308 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008105/0.6082, allocations: 137.6 kB / 0.9309 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.6082, allocations: 8 kB / 0.9309 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003526/0.6117, allocations: 3.296 MB / 0.9342 GB, free: 6.469 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6117, allocations: 0 / 0.9342 GB, free: 6.469 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.613, allocations: 435.8 kB / 0.9346 GB, free: 6.023 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.6132, allocations: 116.8 kB / 0.9347 GB, free: 5.891 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.6132, allocations: 4.125 kB / 0.9347 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/0.6135, allocations: 19.97 kB / 0.9347 GB, free: 5.867 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.88e-05/0.6136, allocations: 15.98 kB / 0.9347 GB, free: 5.852 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.6136, allocations: 12 kB / 0.9347 GB, free: 5.84 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001778/0.6138, allocations: 163.8 kB / 0.9349 GB, free: 5.68 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6138, allocations: 0 / 0.9349 GB, free: 5.68 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004179/0.6142, allocations: 75.89 kB / 0.935 GB, free: 5.605 MB / 0.7012 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.0001925/0.6144, allocations: 115.2 kB / 0.9351 GB, free: 5.48 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0011/0.6155, allocations: 437.5 kB / 0.9355 GB, free: 5.027 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.6155, allocations: 4 kB / 0.9355 GB, free: 5.023 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006813/0.6162, allocations: 353.3 kB / 0.9358 GB, free: 4.652 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.6167, allocations: 57.95 kB / 0.9359 GB, free: 4.598 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009407/0.6176, allocations: 422.9 kB / 0.9363 GB, free: 4.156 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.6179, allocations: 0.7401 MB / 0.937 GB, free: 3.391 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001773/0.6181, allocations: 33.98 kB / 0.937 GB, free: 3.359 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.6182, allocations: 23.42 kB / 0.9371 GB, free: 3.336 MB / 0.7012 GB Notification: Performance of SimCode: time 2.1e-07/0.6182, allocations: 0 / 0.9371 GB, free: 3.336 MB / 0.7012 GB Notification: Performance of Templates: time 0.01046/0.6287, allocations: 5.347 MB / 0.9423 GB, free: 14.05 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (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)