Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 98.44 kB / 16.27 MB, free: 5.961 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.001164/0.001164, allocations: 189.5 kB / 17.19 MB, free: 5.59 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.369/1.369, allocations: 222.9 MB / 240.9 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8359/0.8359, allocations: 126.1 MB / 417.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 67.89 kB / 0.495 GB, free: 3.531 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.39, allocations: 78.69 MB / 0.5718 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002447/0.3924, allocations: 1.49 MB / 0.5733 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003073/0.3928, allocations: 126.8 kB / 0.5734 GB, free: 30.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.944e-05/0.3928, allocations: 1.875 kB / 0.5734 GB, free: 30.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.3929, allocations: 3.938 kB / 0.5734 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.604e-05/0.3929, allocations: 11.59 kB / 0.5734 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.3932, allocations: 71.11 kB / 0.5735 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.3933, allocations: 61.14 kB / 0.5735 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.3935, allocations: 17.84 kB / 0.5735 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.609e-05/0.3935, allocations: 24.12 kB / 0.5736 GB, free: 29.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.245e-05/0.3936, allocations: 28.25 kB / 0.5736 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.3936, allocations: 4.938 kB / 0.5736 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.58e-05/0.3937, allocations: 6.719 kB / 0.5736 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.678e-05/0.3937, allocations: 15.05 kB / 0.5736 GB, free: 29.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.3937, allocations: 25.14 kB / 0.5736 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.884e-05/0.3938, allocations: 55.31 kB / 0.5737 GB, free: 29.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3938, allocations: 0 / 0.5737 GB, free: 29.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3939, allocations: 1.25 kB / 0.5737 GB, free: 29.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.3939, allocations: 0 / 0.5737 GB, free: 29.88 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004306/0.3943, allocations: 373.2 kB / 0.574 GB, free: 29.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.3943, allocations: 11.44 kB / 0.5741 GB, free: 29.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.3944, allocations: 3.156 kB / 0.5741 GB, free: 29.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.734e-05/0.3945, allocations: 176.1 kB / 0.5742 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.082e-05/0.3945, allocations: 39.81 kB / 0.5743 GB, free: 29.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.3945, allocations: 3.406 kB / 0.5743 GB, free: 29.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.3947, allocations: 79.92 kB / 0.5743 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.3948, allocations: 3.938 kB / 0.5744 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3948, allocations: 1.156 kB / 0.5744 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3948, allocations: 1.219 kB / 0.5744 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.395, allocations: 46.45 kB / 0.5744 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005096/0.3955, allocations: 316.9 kB / 0.5747 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.3956, allocations: 45.08 kB / 0.5747 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.222e-05/0.3957, allocations: 34.56 kB / 0.5748 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.3957, allocations: 1.703 kB / 0.5748 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.3958, allocations: 32.59 kB / 0.5748 GB, free: 28.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.3958, allocations: 0 / 0.5748 GB, free: 28.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003378/0.3961, allocations: 107.6 kB / 0.5749 GB, free: 28.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.3961, allocations: 55.02 kB / 0.575 GB, free: 28.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.072e-05/0.3962, allocations: 111.8 kB / 0.5751 GB, free: 28.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.3962, allocations: 29.7 kB / 0.5751 GB, free: 28.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.743e-05/0.3963, allocations: 85.12 kB / 0.5752 GB, free: 28.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.3963, allocations: 22.23 kB / 0.5752 GB, free: 28.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.3963, allocations: 20.2 kB / 0.5752 GB, free: 28.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.262e-05/0.3964, allocations: 317.2 kB / 0.5755 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.828e-05/0.3965, allocations: 23.3 kB / 0.5755 GB, free: 28.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.987e-05/0.3966, allocations: 32.84 kB / 0.5756 GB, free: 28.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.3967, allocations: 65.95 kB / 0.5756 GB, free: 28.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3967, allocations: 0 / 0.5756 GB, free: 28.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002015/0.3969, allocations: 83.69 kB / 0.5757 GB, free: 28.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.397, allocations: 6.969 kB / 0.5757 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.397, allocations: 0.6562 kB / 0.5757 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.397, allocations: 1.156 kB / 0.5757 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.344e-05/0.3971, allocations: 19.31 kB / 0.5757 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3971, allocations: 0.7031 kB / 0.5757 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.439e-05/0.3972, allocations: 10.81 kB / 0.5758 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.3972, allocations: 1.781 kB / 0.5758 GB, free: 28.03 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.302e-05/0.3972, allocations: 115.5 kB / 0.5759 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.3973, allocations: 3.219 kB / 0.5759 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.3973, allocations: 14.39 kB / 0.5759 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.3973, allocations: 1.438 kB / 0.5759 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3973, allocations: 4 kB / 0.5759 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.3973, allocations: 2.688 kB / 0.5759 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.3974, allocations: 179 kB / 0.5761 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3974, allocations: 0 / 0.5761 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.732e-05/0.3975, allocations: 16.89 kB / 0.5761 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3975, allocations: 0 / 0.5761 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.3975, allocations: 2.75 kB / 0.5761 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3975, allocations: 0 / 0.5761 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3975, allocations: 1.25 kB / 0.5761 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.3978, allocations: 176 kB / 0.5763 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.928e-05/0.3978, allocations: 84.28 kB / 0.5763 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.3978, allocations: 5.453 kB / 0.5763 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.3979, allocations: 10.67 kB / 0.5763 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.398, allocations: 4.906 kB / 0.5764 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.398, allocations: 2.766 kB / 0.5764 GB, free: 27.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.864e-05/0.398, allocations: 88.23 kB / 0.5764 GB, free: 27.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.398, allocations: 0 / 0.5764 GB, free: 27.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.3982, allocations: 8.25 kB / 0.5764 GB, free: 27.36 MB / 446.1 MB 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.186e-05/0.3983, allocations: 102.1 kB / 0.5765 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.3986, allocations: 61.92 kB / 0.5766 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3986, allocations: 1.594 kB / 0.5766 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.748e-05/0.3987, allocations: 24.72 kB / 0.5766 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.3989, allocations: 10.02 kB / 0.5766 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002496/0.3992, allocations: 138.3 kB / 0.5768 GB, free: 27.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.278e-05/0.3993, allocations: 0.6832 MB / 0.5774 GB, free: 26.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.722e-05/0.3993, allocations: 5.281 kB / 0.5774 GB, free: 26.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.301e-05/0.3994, allocations: 10.72 kB / 0.5775 GB, free: 26.42 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3994, allocations: 0.875 kB / 0.5775 GB, free: 26.42 MB / 446.1 MB Notification: Performance of Templates: time 0.00262/0.402, allocations: 0.8026 MB / 0.5782 GB, free: 26.34 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)