Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 103.9 kB / 16.35 MB, free: 5.828 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.001119/0.001119, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.301/1.301, 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.002063/0.002063, allocations: 286.8 kB / 291.4 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.9154/0.9154, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 106.1 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1531, allocations: 86.96 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002762/0.1559, allocations: 1.675 MB / 0.6832 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4258/0.5817, allocations: 149.7 MB / 0.8294 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.5818, allocations: 4 kB / 0.8294 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.5821, allocations: 27.73 kB / 0.8294 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.5824, allocations: 51.62 kB / 0.8295 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005209/0.5829, allocations: 185.1 kB / 0.8296 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.5832, allocations: 163.5 kB / 0.8298 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.5833, allocations: 33.78 kB / 0.8298 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.5845, allocations: 197.2 kB / 0.83 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.5847, allocations: 59.77 kB / 0.8301 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.5847, allocations: 8 kB / 0.8301 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003109/0.5851, allocations: 167.8 kB / 0.8303 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.5851, allocations: 19.92 kB / 0.8303 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.382e-05/0.5852, allocations: 55.72 kB / 0.8303 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003558/0.5855, allocations: 206.1 kB / 0.8305 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.5856, allocations: 0 / 0.8305 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5856, allocations: 0 / 0.8305 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.5856, allocations: 0 / 0.8305 GB, free: 6.09 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009008/0.5865, allocations: 467.6 kB / 0.831 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.5865, allocations: 12.03 kB / 0.831 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006067/0.5871, allocations: 56.88 kB / 0.831 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.5874, allocations: 206.8 kB / 0.8312 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.5874, allocations: 8 kB / 0.8312 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.5875, allocations: 12 kB / 0.8312 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004457/0.5879, allocations: 183.4 kB / 0.8314 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.5879, allocations: 3.938 kB / 0.8314 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.588, allocations: 4 kB / 0.8314 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.588, allocations: 0 / 0.8314 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000474/0.5884, allocations: 151.8 kB / 0.8316 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.5895, allocations: 0.8089 MB / 0.8324 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003782/0.5899, allocations: 134.5 kB / 0.8325 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.5902, allocations: 84.78 kB / 0.8326 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.5902, allocations: 0 / 0.8326 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.5902, allocations: 38.56 kB / 0.8326 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.5902, allocations: 0 / 0.8326 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.001839/0.5921, allocations: 455.2 kB / 0.833 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.5921, allocations: 59.39 kB / 0.8331 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.5923, allocations: 153 kB / 0.8332 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.5923, allocations: 29.7 kB / 0.8333 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.5924, allocations: 116.2 kB / 0.8334 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.5924, allocations: 27.64 kB / 0.8334 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.389e-05/0.5925, allocations: 37.61 kB / 0.8334 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.5926, allocations: 318.8 kB / 0.8338 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.5928, allocations: 63.94 kB / 0.8338 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.5931, allocations: 112.2 kB / 0.8339 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004494/0.5935, allocations: 181.2 kB / 0.8341 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5935, allocations: 0 / 0.8341 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009583/0.5945, allocations: 274.1 kB / 0.8344 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.5945, allocations: 12.12 kB / 0.8344 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.5946, allocations: 7.922 kB / 0.8344 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005651/0.5951, allocations: 80.77 kB / 0.8345 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.5954, allocations: 35.97 kB / 0.8345 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.5976, allocations: 1.66 MB / 0.8361 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.5978, allocations: 27.83 kB / 0.8361 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.5979, allocations: 7.984 kB / 0.8361 GB, free: 15.87 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.598, allocations: 121.8 kB / 0.8363 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.598, allocations: 15.97 kB / 0.8363 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009829/0.599, allocations: 306.9 kB / 0.8366 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.599, allocations: 3.938 kB / 0.8366 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.5991, allocations: 12 kB / 0.8366 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5991, allocations: 0 / 0.8366 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.5993, allocations: 253 kB / 0.8368 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5993, allocations: 0 / 0.8368 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.5995, allocations: 27.97 kB / 0.8368 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004195/0.6, allocations: 88.58 kB / 0.8369 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.6, allocations: 4 kB / 0.8369 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/0.6017, allocations: 1.678 MB / 0.8386 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.6017, allocations: 0 / 0.8386 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009334/0.6026, allocations: 384 kB / 0.8389 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.99e-05/0.6027, allocations: 104.9 kB / 0.839 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.6028, allocations: 0 / 0.839 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.603, allocations: 23.97 kB / 0.8391 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.603, allocations: 15.92 kB / 0.8391 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.6031, allocations: 8 kB / 0.8391 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.847e-05/0.6031, allocations: 114.8 kB / 0.8392 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6031, allocations: 0 / 0.8392 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003129/0.6035, allocations: 44 kB / 0.8392 GB, free: 12.45 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001627/0.6036, allocations: 116.4 kB / 0.8393 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008189/0.6045, allocations: 303.2 kB / 0.8396 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6045, allocations: 4 kB / 0.8396 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004833/0.605, allocations: 234.4 kB / 0.8399 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.6053, allocations: 31.33 kB / 0.8399 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007533/0.606, allocations: 310.7 kB / 0.8402 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.6063, allocations: 0.7046 MB / 0.8409 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001206/0.6064, allocations: 28.81 kB / 0.8409 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.867e-05/0.6065, allocations: 19.42 kB / 0.8409 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.6065, allocations: 3.938 kB / 0.8409 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of Templates: time 0.006273/0.6128, allocations: 3.217 MB / 0.8441 GB, free: 7.445 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)