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.001231/0.001231, allocations: 109 kB / 17.08 MB, free: 5.82 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.001183/0.001184, allocations: 197.8 kB / 18.02 MB, free: 4.965 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.357/1.357, 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.7229/0.7229, allocations: 115.3 MB / 407.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 65.56 kB / 0.5583 GB, free: 32.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1397, allocations: 76.18 MB / 0.6327 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003216/0.1429, allocations: 1.898 MB / 0.6346 GB, free: 2.5 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.4819/0.6248, allocations: 155.4 MB / 0.7863 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.625, allocations: 2.156 kB / 0.7864 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.6252, allocations: 28.34 kB / 0.7864 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.6255, allocations: 77.81 kB / 0.7865 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007065/0.6263, allocations: 266.5 kB / 0.7867 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.6265, allocations: 265 kB / 0.787 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.6267, allocations: 66.17 kB / 0.787 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/0.6279, allocations: 255.6 kB / 0.7873 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.6281, allocations: 93.95 kB / 0.7874 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.6281, allocations: 14.72 kB / 0.7874 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003279/0.6284, allocations: 181.9 kB / 0.7875 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.765e-05/0.6285, allocations: 48.47 kB / 0.7876 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.899e-05/0.6286, allocations: 93.31 kB / 0.7877 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.629, allocations: 284.6 kB / 0.788 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.629, allocations: 6.188 kB / 0.788 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.264e-06/0.629, allocations: 2.578 kB / 0.788 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.629, allocations: 0 / 0.788 GB, free: 13.57 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.0008838/0.6299, allocations: 0.521 MB / 0.7885 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.6299, allocations: 10.44 kB / 0.7885 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008655/0.6308, allocations: 80.81 kB / 0.7886 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.6311, allocations: 234.7 kB / 0.7888 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-05/0.6311, allocations: 40.97 kB / 0.7888 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.6312, allocations: 15.41 kB / 0.7888 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004784/0.6317, allocations: 263.5 kB / 0.7891 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.6317, allocations: 1.875 kB / 0.7891 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.6317, allocations: 5.094 kB / 0.7891 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.6317, allocations: 3.781 kB / 0.7891 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004082/0.6321, allocations: 174 kB / 0.7893 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.6337, allocations: 1.182 MB / 0.7904 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006922/0.6344, allocations: 201.6 kB / 0.7906 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.6346, allocations: 72.08 kB / 0.7907 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.6346, allocations: 9.312 kB / 0.7907 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.6346, allocations: 31.94 kB / 0.7907 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.6346, allocations: 0 / 0.7907 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.00261/0.6373, allocations: 0.6298 MB / 0.7913 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.6373, allocations: 53.98 kB / 0.7914 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.6376, allocations: 218.3 kB / 0.7916 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.6376, allocations: 29.39 kB / 0.7916 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.77e-05/0.6377, allocations: 143.6 kB / 0.7918 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.6377, allocations: 37.67 kB / 0.7918 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.67e-05/0.6378, allocations: 48.55 kB / 0.7918 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.6379, allocations: 332.4 kB / 0.7922 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.6381, allocations: 66.7 kB / 0.7922 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.6384, allocations: 135 kB / 0.7923 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/0.6387, allocations: 208.5 kB / 0.7925 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6388, allocations: 0 / 0.7925 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001376/0.6401, allocations: 376.6 kB / 0.7929 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.6402, allocations: 5.969 kB / 0.7929 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.6402, allocations: 6.5 kB / 0.7929 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.6412, allocations: 158.5 kB / 0.7931 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.6415, allocations: 35.55 kB / 0.7931 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003714/0.6452, allocations: 3.255 MB / 0.7963 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003671/0.6456, allocations: 39.7 kB / 0.7963 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.6456, allocations: 9.547 kB / 0.7963 GB, free: 7.785 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.0001343/0.6457, allocations: 138.5 kB / 0.7965 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/0.6458, allocations: 15.62 kB / 0.7965 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.647, allocations: 369.1 kB / 0.7968 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.647, allocations: 2.562 kB / 0.7968 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.647, allocations: 2.578 kB / 0.7968 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.6471, allocations: 2.781 kB / 0.7968 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.6473, allocations: 288.6 kB / 0.7971 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6474, allocations: 0 / 0.7971 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.6475, allocations: 24.25 kB / 0.7971 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007994/0.6483, allocations: 138.8 kB / 0.7973 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.6483, allocations: 5.781 kB / 0.7973 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003321/0.6516, allocations: 3.3 MB / 0.8005 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.6517, allocations: 4.797 kB / 0.8005 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.6529, allocations: 428.2 kB / 0.8009 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.653, allocations: 116.2 kB / 0.801 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.653, allocations: 7.875 kB / 0.801 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/0.6533, allocations: 15.83 kB / 0.801 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.6534, allocations: 15.91 kB / 0.8011 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.6534, allocations: 7.281 kB / 0.8011 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001607/0.6536, allocations: 165 kB / 0.8012 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6536, allocations: 0 / 0.8012 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000403/0.654, allocations: 76.25 kB / 0.8013 GB, free: 4.164 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.0001696/0.6542, allocations: 115.6 kB / 0.8014 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000914/0.6551, allocations: 444.1 kB / 0.8018 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6551, allocations: 0 / 0.8018 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006243/0.6557, allocations: 358.8 kB / 0.8022 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.6561, allocations: 61.19 kB / 0.8022 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009661/0.6571, allocations: 457.4 kB / 0.8027 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.6574, allocations: 0.7318 MB / 0.8034 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.971e-05/0.6575, allocations: 22.02 kB / 0.8034 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.6575, allocations: 4 kB / 0.8034 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of Templates: time 0.005998/0.6635, allocations: 4.449 MB / 0.8077 GB, free: 1 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)