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.001018/0.001018, allocations: 109.5 kB / 16.41 MB, free: 6.453 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.001031/0.001031, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.243/1.243, allocations: 222.9 MB / 241 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.001953/0.001953, allocations: 275.5 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 0.8769/0.8769, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 91.86 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4231, allocations: 86.97 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002817/0.426, allocations: 1.918 MB / 0.7689 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1527/0.5787, allocations: 155.4 MB / 0.9207 GB, free: 5.969 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.5789, allocations: 0 / 0.9207 GB, free: 5.969 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.5791, allocations: 31.67 kB / 0.9207 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.5795, allocations: 71.42 kB / 0.9208 GB, free: 5.867 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.000724/0.5802, allocations: 267.1 kB / 0.921 GB, free: 5.605 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0002748/0.5805, allocations: 263.1 kB / 0.9213 GB, free: 5.348 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.5806, allocations: 70.39 kB / 0.9214 GB, free: 5.277 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.5818, allocations: 254.8 kB / 0.9216 GB, free: 5.055 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.5819, allocations: 95.59 kB / 0.9217 GB, free: 4.961 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.582, allocations: 16 kB / 0.9217 GB, free: 4.945 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003233/0.5823, allocations: 183.7 kB / 0.9219 GB, free: 4.766 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.778e-05/0.5824, allocations: 43.89 kB / 0.9219 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 8.726e-05/0.5825, allocations: 91.52 kB / 0.922 GB, free: 4.633 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003972/0.5829, allocations: 285.6 kB / 0.9223 GB, free: 4.355 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5829, allocations: 4 kB / 0.9223 GB, free: 4.352 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5829, allocations: 4 kB / 0.9223 GB, free: 4.348 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.5829, allocations: 0 / 0.9223 GB, free: 4.348 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.0008833/0.5838, allocations: 0.5223 MB / 0.9228 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.5838, allocations: 8.031 kB / 0.9228 GB, free: 3.77 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007801/0.5846, allocations: 87.62 kB / 0.9229 GB, free: 3.684 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.5849, allocations: 235.5 kB / 0.9231 GB, free: 3.414 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.299e-05/0.585, allocations: 38.03 kB / 0.9232 GB, free: 3.371 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.585, allocations: 20 kB / 0.9232 GB, free: 3.352 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/0.5855, allocations: 262.6 kB / 0.9234 GB, free: 3.066 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.5856, allocations: 4 kB / 0.9234 GB, free: 3.062 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.5856, allocations: 4 kB / 0.9234 GB, free: 3.059 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.5856, allocations: 4 kB / 0.9234 GB, free: 3.055 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004308/0.586, allocations: 175.7 kB / 0.9236 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.5875, allocations: 1.165 MB / 0.9247 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006857/0.5882, allocations: 210.6 kB / 0.9249 GB, free: 1.426 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.5884, allocations: 72.81 kB / 0.925 GB, free: 1.352 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.5884, allocations: 11.86 kB / 0.925 GB, free: 1.34 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.5885, allocations: 30.56 kB / 0.925 GB, free: 1.301 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.5885, allocations: 0 / 0.925 GB, free: 1.301 MB / 0.6856 GB Notification: Performance of matching and sorting (n=12): time 0.002401/0.5909, allocations: 0.6301 MB / 0.9257 GB, free: 0.6211 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.5909, allocations: 51.41 kB / 0.9257 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.5912, allocations: 219.6 kB / 0.9259 GB, free: 344 kB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.5912, allocations: 25.7 kB / 0.9259 GB, free: 312 kB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 7.381e-05/0.5913, allocations: 140 kB / 0.9261 GB, free: 168 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.5913, allocations: 39.45 kB / 0.9261 GB, free: 128 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.637e-05/0.5914, allocations: 53.59 kB / 0.9262 GB, free: 68 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.5915, allocations: 326.8 kB / 0.9265 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.5917, allocations: 71.94 kB / 0.9266 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.592, allocations: 133.2 kB / 0.9267 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/0.5924, allocations: 201.7 kB / 0.9269 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.5924, allocations: 0 / 0.9269 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001293/0.5937, allocations: 378.6 kB / 0.9272 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.5937, allocations: 4 kB / 0.9272 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.5937, allocations: 4 kB / 0.9272 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009828/0.5947, allocations: 161.8 kB / 0.9274 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.5949, allocations: 35.97 kB / 0.9274 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003467/0.5984, allocations: 3.254 MB / 0.9306 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.5987, allocations: 39.7 kB / 0.9306 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.5987, allocations: 8 kB / 0.9307 GB, free: 11.11 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.0001239/0.5989, allocations: 140.2 kB / 0.9308 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.5989, allocations: 19.75 kB / 0.9308 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.6001, allocations: 368.3 kB / 0.9312 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.6001, allocations: 0 / 0.9312 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.6001, allocations: 0 / 0.9312 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.6001, allocations: 7.984 kB / 0.9312 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.6004, allocations: 277.3 kB / 0.9314 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.6004, allocations: 0 / 0.9314 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.6006, allocations: 23.92 kB / 0.9314 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007364/0.6013, allocations: 149.5 kB / 0.9316 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.6013, allocations: 0 / 0.9316 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00319/0.6045, allocations: 3.3 MB / 0.9348 GB, free: 6.48 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.6045, allocations: 0 / 0.9348 GB, free: 6.48 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.6057, allocations: 436 kB / 0.9352 GB, free: 6.035 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.6058, allocations: 116.8 kB / 0.9353 GB, free: 5.902 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.6058, allocations: 4 kB / 0.9353 GB, free: 5.898 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.6061, allocations: 15.98 kB / 0.9354 GB, free: 5.883 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.6062, allocations: 19.98 kB / 0.9354 GB, free: 5.863 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.6062, allocations: 7.984 kB / 0.9354 GB, free: 5.855 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001649/0.6064, allocations: 159.8 kB / 0.9355 GB, free: 5.699 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.5e-07/0.6064, allocations: 0 / 0.9355 GB, free: 5.699 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003936/0.6068, allocations: 71.91 kB / 0.9356 GB, free: 5.629 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.0001831/0.607, allocations: 119.2 kB / 0.9357 GB, free: 5.5 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0009415/0.6079, allocations: 441.5 kB / 0.9361 GB, free: 5.043 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6079, allocations: 0 / 0.9361 GB, free: 5.043 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006131/0.6085, allocations: 361.2 kB / 0.9365 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.609, allocations: 55.95 kB / 0.9365 GB, free: 4.609 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008773/0.6099, allocations: 453.7 kB / 0.937 GB, free: 4.133 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.6101, allocations: 0.7401 MB / 0.9377 GB, free: 3.367 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.734e-05/0.6102, allocations: 23.42 kB / 0.9377 GB, free: 3.344 MB / 0.7012 GB Notification: Performance of SimCode: time 2.4e-07/0.6102, allocations: 0 / 0.9377 GB, free: 3.344 MB / 0.7012 GB Notification: Performance of Templates: time 0.005912/0.6161, allocations: 4.445 MB / 0.9421 GB, free: 14.91 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)