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.001532/0.001532, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001947/0.001947, allocations: 197.3 kB / 16.26 MB, free: 6.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.416/1.416, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002473/0.002473, allocations: 283.1 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.067/1.067, allocations: 178.6 MB / 0.5069 GB, free: 4.734 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002724/0.002724, allocations: 110.4 kB / 0.6059 GB, free: 24.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1654, allocations: 89.15 MB / 0.693 GB, free: 4.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003171/0.1686, allocations: 1.969 MB / 0.6949 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4884/0.657, allocations: 153.2 MB / 0.8445 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001937/0.6573, allocations: 2.719 kB / 0.8445 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.6575, allocations: 21.17 kB / 0.8445 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003361/0.6579, allocations: 68.2 kB / 0.8446 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007882/0.6587, allocations: 240.7 kB / 0.8448 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.659, allocations: 267 kB / 0.8451 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.6592, allocations: 66.11 kB / 0.8451 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002097/0.6613, allocations: 235.3 kB / 0.8454 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.6614, allocations: 94.31 kB / 0.8455 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/0.6615, allocations: 15.34 kB / 0.8455 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003603/0.6618, allocations: 189.8 kB / 0.8457 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.298e-05/0.6619, allocations: 44.08 kB / 0.8457 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.662, allocations: 93.77 kB / 0.8458 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000397/0.6624, allocations: 280.9 kB / 0.8461 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6624, allocations: 1.375 kB / 0.8461 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.825e-06/0.6624, allocations: 4 kB / 0.8461 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.6625, allocations: 3.938 kB / 0.8461 GB, free: 7.324 MB / 0.5762 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.0009756/0.6634, allocations: 0.5216 MB / 0.8466 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.6635, allocations: 7.438 kB / 0.8466 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008589/0.6643, allocations: 82.03 kB / 0.8467 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.6646, allocations: 233.2 kB / 0.8469 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.584e-05/0.6647, allocations: 44.22 kB / 0.8469 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.6648, allocations: 16.41 kB / 0.8469 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005383/0.6653, allocations: 261.8 kB / 0.8472 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.6653, allocations: 1.469 kB / 0.8472 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.6654, allocations: 6.969 kB / 0.8472 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.6654, allocations: 3.906 kB / 0.8472 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/0.6658, allocations: 165 kB / 0.8474 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.6675, allocations: 1.181 MB / 0.8485 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007459/0.6683, allocations: 207.1 kB / 0.8487 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.6685, allocations: 72.09 kB / 0.8488 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.6685, allocations: 11.94 kB / 0.8488 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.6686, allocations: 33.06 kB / 0.8488 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.6686, allocations: 0 / 0.8488 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.002784/0.6713, allocations: 0.6289 MB / 0.8494 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.6714, allocations: 54.47 kB / 0.8495 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.6717, allocations: 203.9 kB / 0.8497 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.6717, allocations: 36.48 kB / 0.8497 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.735e-05/0.6718, allocations: 140 kB / 0.8498 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.6719, allocations: 36.39 kB / 0.8499 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.381e-05/0.672, allocations: 49.34 kB / 0.8499 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.6721, allocations: 329.5 kB / 0.8502 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.6723, allocations: 68.41 kB / 0.8503 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.6726, allocations: 135.5 kB / 0.8504 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/0.673, allocations: 204.5 kB / 0.8506 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.673, allocations: 0 / 0.8506 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001482/0.6745, allocations: 379.1 kB / 0.851 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.6745, allocations: 6.188 kB / 0.851 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6745, allocations: 6.344 kB / 0.851 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.6756, allocations: 160.9 kB / 0.8512 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.6759, allocations: 38.16 kB / 0.8512 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004248/0.6801, allocations: 3.246 MB / 0.8544 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003823/0.6805, allocations: 33.14 kB / 0.8544 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.6806, allocations: 15.73 kB / 0.8544 GB, free: 15.89 MB / 0.5919 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.0001669/0.6807, allocations: 138.1 kB / 0.8545 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.87e-05/0.6808, allocations: 21.56 kB / 0.8546 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.6822, allocations: 369 kB / 0.8549 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.6822, allocations: 2.812 kB / 0.8549 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.6822, allocations: 3.984 kB / 0.8549 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.6822, allocations: 0 / 0.8549 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.6825, allocations: 287 kB / 0.8552 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.6826, allocations: 0 / 0.8552 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.6827, allocations: 34 kB / 0.8552 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008579/0.6836, allocations: 134 kB / 0.8554 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.6836, allocations: 6.594 kB / 0.8554 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003865/0.6875, allocations: 3.299 MB / 0.8586 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6875, allocations: 3.938 kB / 0.8586 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.6888, allocations: 432 kB / 0.859 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.6889, allocations: 107.1 kB / 0.8591 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.689, allocations: 7.938 kB / 0.8591 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.6893, allocations: 14.33 kB / 0.8591 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.055e-05/0.6894, allocations: 22.72 kB / 0.8591 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.6894, allocations: 5.438 kB / 0.8592 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001844/0.6896, allocations: 159.1 kB / 0.8593 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6896, allocations: 0 / 0.8593 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004288/0.69, allocations: 76.09 kB / 0.8594 GB, free: 11.36 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 (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.0002002/0.6902, allocations: 108.5 kB / 0.8595 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001082/0.6913, allocations: 461.9 kB / 0.8599 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6913, allocations: 0 / 0.8599 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007178/0.6921, allocations: 356 kB / 0.8603 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.6925, allocations: 73 kB / 0.8603 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009807/0.6935, allocations: 498 kB / 0.8608 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.6939, allocations: 0.7298 MB / 0.8615 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002053/0.6941, allocations: 39.36 kB / 0.8616 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.096e-05/0.6942, allocations: 25.09 kB / 0.8616 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of SimCode: time 3.6e-07/0.6942, allocations: 3.219 kB / 0.8616 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of Templates: time 0.009809/0.704, allocations: 5.23 MB / 0.8667 GB, free: 6.828 MB / 0.5919 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)