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.001297/0.001297, allocations: 107.8 kB / 16.27 MB, free: 6.41 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.001362/0.001362, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.269/1.269, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002214/0.002214, allocations: 287.5 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9027/0.9027, allocations: 169.3 MB / 0.4988 GB, free: 4.516 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003142/0.003142, allocations: 94.83 kB / 0.5959 GB, free: 4.074 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1792, allocations: 86.97 MB / 0.6808 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003025/0.1822, allocations: 1.673 MB / 0.6825 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4422/0.6245, allocations: 149.7 MB / 0.8286 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.6246, allocations: 1.156 kB / 0.8286 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.6249, allocations: 22.36 kB / 0.8287 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.6252, allocations: 55.17 kB / 0.8287 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005774/0.6258, allocations: 184.4 kB / 0.8289 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002539/0.626, allocations: 165.7 kB / 0.8291 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.6262, allocations: 34.12 kB / 0.8291 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.6274, allocations: 183.9 kB / 0.8293 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.6276, allocations: 67.69 kB / 0.8293 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.6276, allocations: 9.375 kB / 0.8293 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003716/0.628, allocations: 153.4 kB / 0.8295 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.672e-05/0.6281, allocations: 27.14 kB / 0.8295 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.6282, allocations: 61.56 kB / 0.8296 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006139/0.6288, allocations: 203.9 kB / 0.8298 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6288, allocations: 0 / 0.8298 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.675e-06/0.6288, allocations: 1.344 kB / 0.8298 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.6289, allocations: 0 / 0.8298 GB, free: 10.02 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.001142/0.63, allocations: 465.5 kB / 0.8302 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.6301, allocations: 10.36 kB / 0.8302 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007074/0.6308, allocations: 54.94 kB / 0.8303 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.6311, allocations: 208.6 kB / 0.8305 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.6311, allocations: 8.375 kB / 0.8305 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.6311, allocations: 9.625 kB / 0.8305 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005714/0.6317, allocations: 184.6 kB / 0.8307 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.6317, allocations: 4 kB / 0.8307 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.6318, allocations: 5.156 kB / 0.8307 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.6318, allocations: 2.344 kB / 0.8307 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005648/0.6323, allocations: 140.9 kB / 0.8308 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.6336, allocations: 0.8167 MB / 0.8316 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/0.634, allocations: 134.2 kB / 0.8317 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/0.6343, allocations: 85.64 kB / 0.8318 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.6344, allocations: 5.641 kB / 0.8318 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.6344, allocations: 33.2 kB / 0.8319 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.6344, allocations: 0 / 0.8319 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.001938/0.6363, allocations: 465.1 kB / 0.8323 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.6364, allocations: 53.5 kB / 0.8323 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.6365, allocations: 153.1 kB / 0.8325 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.6366, allocations: 26.77 kB / 0.8325 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.6366, allocations: 108.9 kB / 0.8326 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.6367, allocations: 30.03 kB / 0.8326 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.068e-05/0.6367, allocations: 35.58 kB / 0.8327 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.896e-05/0.6368, allocations: 321.5 kB / 0.833 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.6371, allocations: 72.97 kB / 0.8331 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.6374, allocations: 105.7 kB / 0.8332 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005253/0.6379, allocations: 185.4 kB / 0.8333 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6379, allocations: 0.8438 kB / 0.8333 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001059/0.639, allocations: 278.4 kB / 0.8336 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.639, allocations: 6.609 kB / 0.8336 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.639, allocations: 5.25 kB / 0.8336 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006115/0.6397, allocations: 91.14 kB / 0.8337 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.6399, allocations: 30.84 kB / 0.8337 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/0.6419, allocations: 1.657 MB / 0.8353 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.6422, allocations: 23.67 kB / 0.8354 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.6422, allocations: 14.66 kB / 0.8354 GB, free: 5.637 MB / 0.5919 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.0001128/0.6423, allocations: 123.6 kB / 0.8355 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.6424, allocations: 9.594 kB / 0.8355 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.6435, allocations: 314.8 kB / 0.8358 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/0.6435, allocations: 5.094 kB / 0.8358 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.6435, allocations: 1.094 kB / 0.8358 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.6435, allocations: 4 kB / 0.8358 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.6438, allocations: 249.1 kB / 0.8361 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.6438, allocations: 0 / 0.8361 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.644, allocations: 33.06 kB / 0.8361 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000425/0.6445, allocations: 72.84 kB / 0.8362 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.6445, allocations: 7.188 kB / 0.8362 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/0.6463, allocations: 1.681 MB / 0.8378 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.6463, allocations: 1.219 kB / 0.8378 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.6474, allocations: 374.9 kB / 0.8382 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.846e-05/0.6475, allocations: 110.6 kB / 0.8383 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.6476, allocations: 8.094 kB / 0.8383 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.6478, allocations: 18.23 kB / 0.8383 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.668e-05/0.6478, allocations: 19.11 kB / 0.8383 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.6479, allocations: 3.734 kB / 0.8383 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.273e-05/0.648, allocations: 116.8 kB / 0.8384 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.233e-06/0.648, allocations: 0 / 0.8384 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003354/0.6483, allocations: 44.09 kB / 0.8385 GB, free: 3.172 MB / 0.5919 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.0001881/0.6485, allocations: 118.2 kB / 0.8386 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008942/0.6494, allocations: 324.1 kB / 0.8389 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6494, allocations: 0 / 0.8389 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005218/0.6499, allocations: 230.5 kB / 0.8391 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.6503, allocations: 27.83 kB / 0.8391 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008464/0.6511, allocations: 343.3 kB / 0.8395 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.6514, allocations: 0.7108 MB / 0.8402 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.918e-05/0.6515, allocations: 21.52 kB / 0.8402 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of SimCode: time 6.52e-07/0.6515, allocations: 0 / 0.8402 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of Templates: time 0.005348/0.6569, allocations: 2.729 MB / 0.8428 GB, free: 1.223 MB / 0.5919 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)