Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001178/0.001178, allocations: 119.3 kB / 17.09 MB, free: 6.012 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.001152/0.001152, allocations: 195 kB / 18.02 MB, free: 5.094 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.324/1.324, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7421/0.7421, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 67.42 kB / 0.5583 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1385, allocations: 76.18 MB / 0.6327 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002857/0.1414, allocations: 1.898 MB / 0.6346 GB, free: 2.531 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.5033/0.6447, allocations: 155.4 MB / 0.7864 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.6449, allocations: 5.25 kB / 0.7864 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.6452, allocations: 29.33 kB / 0.7864 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003136/0.6455, allocations: 77.11 kB / 0.7865 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007332/0.6462, allocations: 255.1 kB / 0.7867 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.6465, allocations: 268.9 kB / 0.787 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.6467, allocations: 73.3 kB / 0.787 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.648, allocations: 251.8 kB / 0.7873 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.6482, allocations: 96.83 kB / 0.7874 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.6482, allocations: 12.91 kB / 0.7874 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000358/0.6486, allocations: 179.3 kB / 0.7875 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.105e-05/0.6486, allocations: 52.31 kB / 0.7876 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.6487, allocations: 92.22 kB / 0.7877 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003998/0.6491, allocations: 286.1 kB / 0.788 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6492, allocations: 0 / 0.788 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6492, allocations: 1.812 kB / 0.788 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.6492, allocations: 0 / 0.788 GB, free: 13.55 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009141/0.6501, allocations: 0.5287 MB / 0.7885 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.6501, allocations: 9.969 kB / 0.7885 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008151/0.651, allocations: 87.55 kB / 0.7886 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.6512, allocations: 222 kB / 0.7888 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-05/0.6513, allocations: 43.11 kB / 0.7888 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.6514, allocations: 17.5 kB / 0.7888 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004938/0.6519, allocations: 262 kB / 0.7891 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.6519, allocations: 0 / 0.7891 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.6519, allocations: 10.41 kB / 0.7891 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.912e-06/0.6519, allocations: 4.719 kB / 0.7891 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004135/0.6523, allocations: 172.6 kB / 0.7893 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.6539, allocations: 1.176 MB / 0.7904 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007084/0.6546, allocations: 199.4 kB / 0.7906 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.6548, allocations: 75.38 kB / 0.7907 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.6548, allocations: 3.578 kB / 0.7907 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.6549, allocations: 41.77 kB / 0.7907 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.213e-06/0.6549, allocations: 0 / 0.7907 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.002532/0.6574, allocations: 0.6248 MB / 0.7913 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.6574, allocations: 59.25 kB / 0.7914 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.6577, allocations: 218.6 kB / 0.7916 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.6577, allocations: 27.08 kB / 0.7916 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.678e-05/0.6578, allocations: 137.5 kB / 0.7917 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.6578, allocations: 42.55 kB / 0.7918 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.36e-05/0.6579, allocations: 52.62 kB / 0.7918 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.658, allocations: 326 kB / 0.7921 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.6582, allocations: 76.77 kB / 0.7922 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.6585, allocations: 131.4 kB / 0.7923 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003848/0.6589, allocations: 204.7 kB / 0.7925 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6589, allocations: 0 / 0.7925 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001368/0.6603, allocations: 375.9 kB / 0.7929 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.6603, allocations: 6.094 kB / 0.7929 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.6603, allocations: 1.844 kB / 0.7929 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.6613, allocations: 163.5 kB / 0.7931 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.6616, allocations: 38.31 kB / 0.7931 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003743/0.6653, allocations: 3.256 MB / 0.7963 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003368/0.6657, allocations: 34.62 kB / 0.7963 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.6657, allocations: 7.859 kB / 0.7963 GB, free: 7.766 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.0001331/0.6658, allocations: 138.5 kB / 0.7965 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/0.6659, allocations: 17.94 kB / 0.7965 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.6671, allocations: 371.2 kB / 0.7968 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.6671, allocations: 4 kB / 0.7968 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.6671, allocations: 2 kB / 0.7968 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6671, allocations: 0 / 0.7968 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.6674, allocations: 283.3 kB / 0.7971 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.6675, allocations: 0 / 0.7971 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.6676, allocations: 23.08 kB / 0.7971 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007693/0.6684, allocations: 142.5 kB / 0.7973 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.6684, allocations: 2.594 kB / 0.7973 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003424/0.6718, allocations: 3.3 MB / 0.8005 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6718, allocations: 0 / 0.8005 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.673, allocations: 445.1 kB / 0.8009 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.737e-05/0.6731, allocations: 102.7 kB / 0.801 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.6732, allocations: 10.44 kB / 0.801 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.6734, allocations: 13.08 kB / 0.801 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.969e-05/0.6735, allocations: 20.59 kB / 0.801 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.6735, allocations: 4.984 kB / 0.8011 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001757/0.6737, allocations: 165.2 kB / 0.8012 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6737, allocations: 0 / 0.8012 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004082/0.6741, allocations: 78.09 kB / 0.8013 GB, free: 4.145 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.0001815/0.6743, allocations: 114.8 kB / 0.8014 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001024/0.6754, allocations: 445.1 kB / 0.8018 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6754, allocations: 0 / 0.8018 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006486/0.676, allocations: 353.4 kB / 0.8022 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.6765, allocations: 68.19 kB / 0.8022 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009225/0.6774, allocations: 449.7 kB / 0.8027 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.6778, allocations: 0.7368 MB / 0.8034 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.958e-05/0.6779, allocations: 22.52 kB / 0.8034 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.6779, allocations: 0 / 0.8034 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of Templates: time 0.006174/0.684, allocations: 4.421 MB / 0.8077 GB, free: 1.004 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)