Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 103.8 kB / 16.27 MB, free: 5.93 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.00128/0.00128, allocations: 186.1 kB / 17.2 MB, free: 5.574 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.533/1.533, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8471/0.8471, allocations: 126.7 MB / 417.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002284/0.002284, allocations: 68.08 kB / 0.4957 GB, free: 2.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.4212, allocations: 78.86 MB / 0.5728 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003525/0.4248, allocations: 1.4 MB / 0.5741 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.426, allocations: 0.5878 MB / 0.5747 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.11e-05/0.4261, allocations: 1.625 kB / 0.5747 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.396e-05/0.4261, allocations: 6.312 kB / 0.5747 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.22e-05/0.4262, allocations: 5.719 kB / 0.5747 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.4266, allocations: 95.55 kB / 0.5748 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.653e-05/0.4267, allocations: 25.61 kB / 0.5748 GB, free: 29.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.681e-05/0.4268, allocations: 8.875 kB / 0.5748 GB, free: 29.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.411e-05/0.4268, allocations: 7.266 kB / 0.5748 GB, free: 29.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.108e-05/0.4269, allocations: 13.98 kB / 0.5749 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.4269, allocations: 2.781 kB / 0.5749 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.4273, allocations: 146.4 kB / 0.575 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.4273, allocations: 2.594 kB / 0.575 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.4273, allocations: 12.05 kB / 0.575 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.4276, allocations: 102.6 kB / 0.5751 GB, free: 29.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.4276, allocations: 1.375 kB / 0.5751 GB, free: 29.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4277, allocations: 1.906 kB / 0.5751 GB, free: 29.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.4277, allocations: 3.938 kB / 0.5751 GB, free: 29.28 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005253/0.4282, allocations: 359.6 kB / 0.5755 GB, free: 28.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.4283, allocations: 11.03 kB / 0.5755 GB, free: 28.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004796/0.4287, allocations: 27.89 kB / 0.5755 GB, free: 28.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.4289, allocations: 170.8 kB / 0.5757 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.4289, allocations: 2.188 kB / 0.5757 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.4289, allocations: 1.969 kB / 0.5757 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.4292, allocations: 68.66 kB / 0.5757 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4292, allocations: 6.469 kB / 0.5757 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.4293, allocations: 3.938 kB / 0.5757 GB, free: 28.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.4293, allocations: 0.7188 kB / 0.5757 GB, free: 28.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/0.4296, allocations: 54.12 kB / 0.5758 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005322/0.4301, allocations: 272.1 kB / 0.5761 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.4304, allocations: 62.2 kB / 0.5761 GB, free: 28.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.4305, allocations: 32.36 kB / 0.5761 GB, free: 28.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.4306, allocations: 3.984 kB / 0.5761 GB, free: 28.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.4306, allocations: 38.94 kB / 0.5762 GB, free: 28.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.4306, allocations: 0 / 0.5762 GB, free: 28.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005381/0.4311, allocations: 111.7 kB / 0.5763 GB, free: 28.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.4312, allocations: 51.41 kB / 0.5763 GB, free: 28.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.008e-05/0.4312, allocations: 102.1 kB / 0.5764 GB, free: 28.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.4313, allocations: 25.7 kB / 0.5765 GB, free: 28.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.4313, allocations: 87.22 kB / 0.5765 GB, free: 27.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.4313, allocations: 5.281 kB / 0.5765 GB, free: 27.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.4314, allocations: 17.98 kB / 0.5766 GB, free: 27.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.193e-05/0.4314, allocations: 311.4 kB / 0.5769 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.4316, allocations: 25.72 kB / 0.5769 GB, free: 27.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.4317, allocations: 36.02 kB / 0.5769 GB, free: 27.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.432, allocations: 57.72 kB / 0.577 GB, free: 27.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.432, allocations: 0 / 0.577 GB, free: 27.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003184/0.4323, allocations: 87.83 kB / 0.5771 GB, free: 27.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.4323, allocations: 6.859 kB / 0.5771 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.4323, allocations: 0 / 0.5771 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.4324, allocations: 2.828 kB / 0.5771 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.4325, allocations: 14.25 kB / 0.5771 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.4325, allocations: 0 / 0.5771 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.402e-05/0.4326, allocations: 12.39 kB / 0.5771 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.4327, allocations: 2.781 kB / 0.5771 GB, free: 27.54 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 8.228e-05/0.4328, allocations: 119.8 kB / 0.5772 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.4328, allocations: 5.984 kB / 0.5772 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.931e-05/0.4328, allocations: 6.328 kB / 0.5772 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4328, allocations: 0.5312 kB / 0.5772 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.4329, allocations: 4.594 kB / 0.5772 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4329, allocations: 2.125 kB / 0.5772 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.4331, allocations: 168.1 kB / 0.5774 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4331, allocations: 4.797 kB / 0.5774 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.4332, allocations: 17.56 kB / 0.5774 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4332, allocations: 3.469 kB / 0.5774 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.4332, allocations: 0.6094 kB / 0.5774 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.4332, allocations: 2.031 kB / 0.5774 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4332, allocations: 0 / 0.5774 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.4336, allocations: 186.1 kB / 0.5776 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/0.4337, allocations: 83.31 kB / 0.5777 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.4337, allocations: 1.344 kB / 0.5777 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.4338, allocations: 9.656 kB / 0.5777 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.4339, allocations: 12.53 kB / 0.5777 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.4339, allocations: 2.031 kB / 0.5777 GB, free: 26.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.586e-05/0.4339, allocations: 79.53 kB / 0.5778 GB, free: 26.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4339, allocations: 0 / 0.5778 GB, free: 26.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.4342, allocations: 19.8 kB / 0.5778 GB, free: 26.86 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 (2): * Single equations (assignments): 2 * 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 0.0002175/0.4345, allocations: 107.3 kB / 0.5779 GB, free: 26.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003793/0.4349, allocations: 61.05 kB / 0.578 GB, free: 26.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4349, allocations: 0 / 0.578 GB, free: 26.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.435, allocations: 30.03 kB / 0.578 GB, free: 26.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.4354, allocations: 10.23 kB / 0.578 GB, free: 26.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005221/0.4359, allocations: 137.7 kB / 0.5781 GB, free: 26.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.4361, allocations: 0.6769 MB / 0.5788 GB, free: 25.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.852e-05/0.4362, allocations: 9.031 kB / 0.5788 GB, free: 25.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.4362, allocations: 11.56 kB / 0.5788 GB, free: 25.93 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4362, allocations: 0.625 kB / 0.5788 GB, free: 25.93 MB / 446.1 MB Notification: Performance of Templates: time 0.003983/0.4402, allocations: 0.7862 MB / 0.5796 GB, free: 25.64 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)