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.001395/0.001395, allocations: 106.6 kB / 16.41 MB, free: 6.016 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.001491/0.001491, allocations: 187.9 kB / 17.34 MB, free: 5.629 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.408/1.408, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002575/0.002575, allocations: 283.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.053/1.053, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002756/0.002756, allocations: 99.83 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4091, allocations: 86.97 MB / 0.767 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003105/0.4122, allocations: 1.918 MB / 0.7689 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1876/0.5998, allocations: 155.9 MB / 0.9211 GB, free: 5.387 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.6, allocations: 4 kB / 0.9211 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.6002, allocations: 23.73 kB / 0.9211 GB, free: 5.359 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.6006, allocations: 79.41 kB / 0.9212 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.000777/0.6013, allocations: 263.1 kB / 0.9215 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0003835/0.6017, allocations: 267.1 kB / 0.9217 GB, free: 4.762 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.6019, allocations: 50.41 kB / 0.9218 GB, free: 4.711 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.6034, allocations: 259.2 kB / 0.922 GB, free: 4.484 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.6035, allocations: 95.59 kB / 0.9221 GB, free: 4.391 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.6035, allocations: 15.94 kB / 0.9221 GB, free: 4.375 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003598/0.6039, allocations: 191.7 kB / 0.9223 GB, free: 4.188 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.604, allocations: 35.91 kB / 0.9223 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.6041, allocations: 99.5 kB / 0.9224 GB, free: 4.055 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0004586/0.6046, allocations: 284.8 kB / 0.9227 GB, free: 3.781 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6046, allocations: 0 / 0.9227 GB, free: 3.781 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6046, allocations: 0 / 0.9227 GB, free: 3.781 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.6046, allocations: 0 / 0.9227 GB, free: 3.781 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.001028/0.6056, allocations: 0.5296 MB / 0.9232 GB, free: 3.203 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.6057, allocations: 8.031 kB / 0.9232 GB, free: 3.195 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008629/0.6065, allocations: 87.78 kB / 0.9233 GB, free: 3.109 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.6069, allocations: 235.6 kB / 0.9235 GB, free: 2.84 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.224e-05/0.607, allocations: 38.03 kB / 0.9236 GB, free: 2.797 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.943e-05/0.607, allocations: 15.98 kB / 0.9236 GB, free: 2.781 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006126/0.6076, allocations: 262.6 kB / 0.9238 GB, free: 2.496 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.6077, allocations: 3.938 kB / 0.9238 GB, free: 2.492 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.6077, allocations: 11.98 kB / 0.9239 GB, free: 2.48 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.6077, allocations: 4 kB / 0.9239 GB, free: 2.477 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004953/0.6082, allocations: 167.8 kB / 0.924 GB, free: 2.312 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.6101, allocations: 1.177 MB / 0.9252 GB, free: 1.059 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007895/0.6109, allocations: 198.6 kB / 0.9254 GB, free: 0.8555 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.6111, allocations: 72.81 kB / 0.9254 GB, free: 0.7812 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.6111, allocations: 0 / 0.9254 GB, free: 0.7812 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.6111, allocations: 30.56 kB / 0.9255 GB, free: 0.7422 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.6111, allocations: 0 / 0.9255 GB, free: 0.7422 MB / 0.6856 GB Notification: Performance of matching and sorting (n=12): time 0.002818/0.6139, allocations: 0.6262 MB / 0.9261 GB, free: 68 kB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.614, allocations: 55.41 kB / 0.9261 GB, free: 0 / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003117/0.6143, allocations: 211.8 kB / 0.9263 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.151e-05/0.6144, allocations: 37.64 kB / 0.9264 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.6145, allocations: 140.2 kB / 0.9265 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.95e-05/0.6145, allocations: 47.58 kB / 0.9265 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.6146, allocations: 49.64 kB / 0.9266 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.6148, allocations: 326.8 kB / 0.9269 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.615, allocations: 75.94 kB / 0.927 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/0.6153, allocations: 129.3 kB / 0.9271 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/0.6158, allocations: 205.5 kB / 0.9273 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.6158, allocations: 4 kB / 0.9273 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001506/0.6173, allocations: 374.6 kB / 0.9277 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.6173, allocations: 8 kB / 0.9277 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.6173, allocations: 0 / 0.9277 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.6184, allocations: 157.8 kB / 0.9278 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.6186, allocations: 43.89 kB / 0.9279 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004348/0.623, allocations: 3.248 MB / 0.931 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/0.6233, allocations: 31.81 kB / 0.9311 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.6234, allocations: 12 kB / 0.9311 GB, free: 10.55 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.0001607/0.6235, allocations: 132.1 kB / 0.9312 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.097e-05/0.6236, allocations: 23.84 kB / 0.9312 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/0.625, allocations: 372.3 kB / 0.9316 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.625, allocations: 4 kB / 0.9316 GB, free: 10 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.625, allocations: 4 kB / 0.9316 GB, free: 10 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.625, allocations: 0 / 0.9316 GB, free: 10 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.6253, allocations: 281.3 kB / 0.9318 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.6253, allocations: 0 / 0.9318 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.6255, allocations: 19.98 kB / 0.9319 GB, free: 9.656 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008507/0.6263, allocations: 141.5 kB / 0.932 GB, free: 9.512 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.6263, allocations: 11.94 kB / 0.932 GB, free: 9.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004149/0.6305, allocations: 3.297 MB / 0.9352 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6305, allocations: 0 / 0.9352 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.632, allocations: 435.7 kB / 0.9356 GB, free: 5.473 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.6321, allocations: 116.9 kB / 0.9358 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.6321, allocations: 4 kB / 0.9358 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002955/0.6324, allocations: 15.97 kB / 0.9358 GB, free: 5.32 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.684e-05/0.6325, allocations: 15.98 kB / 0.9358 GB, free: 5.305 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.6325, allocations: 4 kB / 0.9358 GB, free: 5.301 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002199/0.6328, allocations: 171.8 kB / 0.936 GB, free: 5.133 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/0.6328, allocations: 0 / 0.936 GB, free: 5.133 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004492/0.6332, allocations: 75.86 kB / 0.936 GB, free: 5.059 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.0002157/0.6334, allocations: 115.2 kB / 0.9361 GB, free: 4.934 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.6346, allocations: 445.3 kB / 0.9366 GB, free: 4.473 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/0.6346, allocations: 4.438 kB / 0.9366 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007425/0.6353, allocations: 341.2 kB / 0.9369 GB, free: 4.109 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004632/0.6358, allocations: 72.17 kB / 0.937 GB, free: 4.039 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.6368, allocations: 428.8 kB / 0.9374 GB, free: 3.594 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.6373, allocations: 0.7363 MB / 0.9381 GB, free: 2.832 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001653/0.6374, allocations: 29.95 kB / 0.9381 GB, free: 2.805 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.213e-05/0.6375, allocations: 23.42 kB / 0.9381 GB, free: 2.781 MB / 0.7012 GB Notification: Performance of SimCode: time 3.4e-07/0.6375, allocations: 3.938 kB / 0.9382 GB, free: 2.777 MB / 0.7012 GB Notification: Performance of Templates: time 0.01119/0.6487, allocations: 5.356 MB / 0.9434 GB, free: 13.48 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)