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: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 102.2 kB / 15.98 MB, free: 6.348 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.001097/0.001097, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.323/1.323, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7082/0.7082, allocations: 115.3 MB / 406.1 MB, free: 6.305 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.89 kB / 493.2 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4226, allocations: 76.17 MB / 0.556 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003019/0.4257, allocations: 1.457 MB / 0.5574 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.4268, allocations: 0.5962 MB / 0.558 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.163e-05/0.4268, allocations: 0.6875 kB / 0.558 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.833e-05/0.4269, allocations: 3.938 kB / 0.558 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.239e-05/0.427, allocations: 2.344 kB / 0.558 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004498/0.4274, allocations: 90.52 kB / 0.5581 GB, free: 34.85 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.386e-05/0.4275, allocations: 28.86 kB / 0.5581 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.4276, allocations: 4.719 kB / 0.5581 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.852e-05/0.4277, allocations: 8.516 kB / 0.5582 GB, free: 34.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.719e-05/0.4278, allocations: 16.36 kB / 0.5582 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.4278, allocations: 1.438 kB / 0.5582 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003099/0.4281, allocations: 150.5 kB / 0.5583 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.4281, allocations: 2.094 kB / 0.5583 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.4281, allocations: 14.41 kB / 0.5583 GB, free: 34.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.4284, allocations: 104.9 kB / 0.5584 GB, free: 34.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.4284, allocations: 0.7812 kB / 0.5584 GB, free: 34.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4284, allocations: 3.938 kB / 0.5584 GB, free: 34.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.4284, allocations: 2.156 kB / 0.5584 GB, free: 34.74 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.0004682/0.4289, allocations: 358 kB / 0.5588 GB, free: 34.37 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.429, allocations: 9.312 kB / 0.5588 GB, free: 34.37 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.707e-05/0.429, allocations: 34.69 kB / 0.5588 GB, free: 34.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00046/0.4295, allocations: 31.95 kB / 0.5588 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.336e-05/0.4296, allocations: 162.5 kB / 0.559 GB, free: 34.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.4296, allocations: 6.906 kB / 0.559 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.4296, allocations: 2.812 kB / 0.559 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.4298, allocations: 72.94 kB / 0.5591 GB, free: 34.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.4299, allocations: 3.938 kB / 0.5591 GB, free: 34.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.4299, allocations: 0 / 0.5591 GB, free: 34.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.4299, allocations: 1.656 kB / 0.5591 GB, free: 34.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002589/0.4302, allocations: 57.23 kB / 0.5591 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.4306, allocations: 273.6 kB / 0.5594 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.4308, allocations: 62.88 kB / 0.5595 GB, free: 33.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.431, allocations: 31.28 kB / 0.5595 GB, free: 33.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.431, allocations: 1.969 kB / 0.5595 GB, free: 33.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.431, allocations: 33.67 kB / 0.5595 GB, free: 33.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.743e-06/0.431, allocations: 0.9844 kB / 0.5595 GB, free: 33.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005257/0.4316, allocations: 117.9 kB / 0.5596 GB, free: 33.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.4316, allocations: 53.28 kB / 0.5597 GB, free: 33.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.86e-05/0.4317, allocations: 102.3 kB / 0.5598 GB, free: 33.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.4317, allocations: 27.08 kB / 0.5598 GB, free: 33.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.977e-05/0.4317, allocations: 82.41 kB / 0.5599 GB, free: 33.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.4318, allocations: 12.64 kB / 0.5599 GB, free: 33.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.4318, allocations: 16.72 kB / 0.5599 GB, free: 33.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.508e-05/0.4319, allocations: 313.8 kB / 0.5602 GB, free: 33.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.432, allocations: 25.58 kB / 0.5602 GB, free: 33.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.4321, allocations: 26.55 kB / 0.5603 GB, free: 33.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.4324, allocations: 60.67 kB / 0.5603 GB, free: 33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.4324, allocations: 3.938 kB / 0.5603 GB, free: 33 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002868/0.4327, allocations: 90.23 kB / 0.5604 GB, free: 32.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.4327, allocations: 6.062 kB / 0.5604 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.4327, allocations: 0.9375 kB / 0.5604 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.4327, allocations: 1.281 kB / 0.5604 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.4329, allocations: 14.31 kB / 0.5604 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.4329, allocations: 0 / 0.5604 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.888e-05/0.433, allocations: 10.34 kB / 0.5605 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.433, allocations: 2.875 kB / 0.5605 GB, free: 32.96 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 6.419e-05/0.4331, allocations: 117.4 kB / 0.5606 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.4331, allocations: 3.391 kB / 0.5606 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.4331, allocations: 9.547 kB / 0.5606 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4332, allocations: 1.156 kB / 0.5606 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4332, allocations: 0.6094 kB / 0.5606 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4332, allocations: 1.094 kB / 0.5606 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.4333, allocations: 171.9 kB / 0.5607 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4333, allocations: 1.781 kB / 0.5607 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.4334, allocations: 14.17 kB / 0.5608 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4335, allocations: 0.5625 kB / 0.5608 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.4335, allocations: 2.672 kB / 0.5608 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4335, allocations: 0.7188 kB / 0.5608 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.4335, allocations: 1.25 kB / 0.5608 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.4338, allocations: 193.9 kB / 0.5609 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.4338, allocations: 87.09 kB / 0.561 GB, free: 32.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.4339, allocations: 7.234 kB / 0.561 GB, free: 32.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.434, allocations: 7.594 kB / 0.561 GB, free: 32.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.434, allocations: 3.828 kB / 0.561 GB, free: 32.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.434, allocations: 2.172 kB / 0.5611 GB, free: 32.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.43e-05/0.4341, allocations: 79.38 kB / 0.5611 GB, free: 32.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4341, allocations: 1.938 kB / 0.5611 GB, free: 32.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.4343, allocations: 15.56 kB / 0.5611 GB, free: 32.3 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.0005806/0.4349, allocations: 0.7306 MB / 0.5619 GB, free: 31.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003269/0.4353, allocations: 56.23 kB / 0.5619 GB, free: 31.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4353, allocations: 2.094 kB / 0.5619 GB, free: 31.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.4354, allocations: 30.72 kB / 0.5619 GB, free: 31.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.4358, allocations: 2.047 kB / 0.5619 GB, free: 31.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006054/0.4364, allocations: 169.4 kB / 0.5621 GB, free: 31.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.4365, allocations: 0.6775 MB / 0.5628 GB, free: 30.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.558e-05/0.4366, allocations: 16.3 kB / 0.5628 GB, free: 30.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.443e-05/0.4367, allocations: 17.02 kB / 0.5628 GB, free: 30.73 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.4367, allocations: 0 / 0.5628 GB, free: 30.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01381/0.4505, allocations: 1.494 MB / 0.5643 GB, free: 30.55 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/0.4508, allocations: 207.3 kB / 0.5645 GB, free: 30.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/2.35, allocations: 0 / 0.5645 GB, free: 30.3 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)