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.001051/0.001051, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.00107/0.00107, allocations: 192 kB / 17.31 MB, free: 5.18 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.249/1.249, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002207/0.002207, allocations: 287.2 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8895/0.8895, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001694, allocations: 99.52 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1646, allocations: 86.97 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002969/0.1677, allocations: 1.916 MB / 0.6835 GB, free: 5.527 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4299/0.5976, allocations: 155.4 MB / 0.8352 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.5978, allocations: 0 / 0.8352 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.598, allocations: 23.73 kB / 0.8353 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.5983, allocations: 79.41 kB / 0.8353 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006492/0.599, allocations: 259.1 kB / 0.8356 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.5992, allocations: 263.1 kB / 0.8358 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.5994, allocations: 70.39 kB / 0.8359 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.6005, allocations: 245.6 kB / 0.8361 GB, free: 300 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.6007, allocations: 99.53 kB / 0.8362 GB, free: 200 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.6007, allocations: 16 kB / 0.8363 GB, free: 184 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003117/0.601, allocations: 175.8 kB / 0.8364 GB, free: 8 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.64e-05/0.6011, allocations: 51.94 kB / 0.8365 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.6012, allocations: 87.59 kB / 0.8366 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003947/0.6016, allocations: 289.7 kB / 0.8368 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.6016, allocations: 0 / 0.8368 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6016, allocations: 3.938 kB / 0.8368 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.6017, allocations: 0 / 0.8368 GB, free: 15.59 MB / 0.6075 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.0008852/0.6025, allocations: 0.519 MB / 0.8373 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.6026, allocations: 12.03 kB / 0.8374 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008231/0.6034, allocations: 83.72 kB / 0.8374 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.6037, allocations: 231.8 kB / 0.8377 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.964e-05/0.6038, allocations: 41.97 kB / 0.8377 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.6038, allocations: 16 kB / 0.8377 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004871/0.6043, allocations: 258.6 kB / 0.838 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.6043, allocations: 3.938 kB / 0.838 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.6044, allocations: 16 kB / 0.838 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.6044, allocations: 4 kB / 0.838 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004159/0.6048, allocations: 163.8 kB / 0.8381 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.6064, allocations: 1.177 MB / 0.8393 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007195/0.6071, allocations: 202.6 kB / 0.8395 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.6073, allocations: 76.75 kB / 0.8396 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.6074, allocations: 3.984 kB / 0.8396 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.6074, allocations: 38.56 kB / 0.8396 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.432e-06/0.6074, allocations: 0 / 0.8396 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.002498/0.6099, allocations: 0.6263 MB / 0.8402 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.6099, allocations: 55.41 kB / 0.8403 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.6102, allocations: 219.6 kB / 0.8405 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.6102, allocations: 25.7 kB / 0.8405 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.6103, allocations: 132.1 kB / 0.8406 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.6103, allocations: 47.36 kB / 0.8407 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-05/0.6104, allocations: 45.69 kB / 0.8407 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.6105, allocations: 334.8 kB / 0.841 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.6107, allocations: 71.89 kB / 0.8411 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.611, allocations: 128.6 kB / 0.8412 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003817/0.6114, allocations: 204.2 kB / 0.8414 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6114, allocations: 0 / 0.8414 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001329/0.6127, allocations: 370.7 kB / 0.8418 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.6127, allocations: 8 kB / 0.8418 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.6127, allocations: 4 kB / 0.8418 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.6138, allocations: 165.7 kB / 0.8419 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.614, allocations: 43.91 kB / 0.842 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003791/0.6178, allocations: 3.249 MB / 0.8451 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.6182, allocations: 35.67 kB / 0.8452 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.6182, allocations: 11.98 kB / 0.8452 GB, free: 6.355 MB / 0.6075 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.0001419/0.6184, allocations: 137.8 kB / 0.8453 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.146e-05/0.6184, allocations: 15.81 kB / 0.8453 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.6197, allocations: 374.4 kB / 0.8457 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.6197, allocations: 4 kB / 0.8457 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.6197, allocations: 0 / 0.8457 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.6197, allocations: 3.938 kB / 0.8457 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.62, allocations: 277.3 kB / 0.846 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.62, allocations: 7.984 kB / 0.846 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.6201, allocations: 19.98 kB / 0.846 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007734/0.6209, allocations: 145.6 kB / 0.8461 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.6209, allocations: 0 / 0.8461 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003353/0.6243, allocations: 3.301 MB / 0.8494 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6243, allocations: 0 / 0.8494 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.6255, allocations: 436.7 kB / 0.8498 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.6256, allocations: 116.8 kB / 0.8499 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.6256, allocations: 3.938 kB / 0.8499 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.6259, allocations: 15.98 kB / 0.8499 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.409e-05/0.626, allocations: 23.97 kB / 0.8499 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.626, allocations: 4 kB / 0.8499 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001606/0.6262, allocations: 163.8 kB / 0.8501 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.6262, allocations: 4 kB / 0.8501 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003972/0.6266, allocations: 67.94 kB / 0.8502 GB, free: 0.8633 MB / 0.6075 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.0001667/0.6268, allocations: 115.2 kB / 0.8503 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009404/0.6277, allocations: 446 kB / 0.8507 GB, free: 284 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6277, allocations: 4 kB / 0.8507 GB, free: 280 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006222/0.6284, allocations: 363.8 kB / 0.851 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.6288, allocations: 65 kB / 0.8511 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008732/0.6297, allocations: 413.6 kB / 0.8515 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.6299, allocations: 0.7401 MB / 0.8522 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001457/0.6301, allocations: 37.92 kB / 0.8523 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.482e-05/0.6301, allocations: 19.44 kB / 0.8523 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of SimCode: time 2.7e-07/0.6301, allocations: 0 / 0.8523 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of Templates: time 0.008773/0.6389, allocations: 5.3 MB / 0.8575 GB, free: 9.352 MB / 0.6231 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)