Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.001657/0.001657, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002348/0.002349, allocations: 174.2 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.58/2.58, allocations: 223.2 MB / 240.5 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.274/1.274, allocations: 113.7 MB / 405.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000557/0.0005573, allocations: 8 kB / 493 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3111, allocations: 77.12 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002397/0.3136, allocations: 0.9785 MB / 0.5577 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.3152, allocations: 0.5758 MB / 0.5583 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.098e-05/0.3153, allocations: 0 / 0.5583 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.607e-05/0.3153, allocations: 0 / 0.5583 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.233e-05/0.3154, allocations: 7.984 kB / 0.5583 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007006/0.3161, allocations: 95.66 kB / 0.5584 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.3163, allocations: 23.97 kB / 0.5584 GB, free: 9.984 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.963e-05/0.3164, allocations: 0 / 0.5584 GB, free: 9.984 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.266e-05/0.3164, allocations: 7.984 kB / 0.5584 GB, free: 9.977 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.3165, allocations: 4 kB / 0.5584 GB, free: 9.973 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.3166, allocations: 7.938 kB / 0.5584 GB, free: 9.965 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004866/0.3171, allocations: 159.8 kB / 0.5586 GB, free: 9.809 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.3171, allocations: 7.922 kB / 0.5586 GB, free: 9.801 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.3171, allocations: 29.7 kB / 0.5586 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.3174, allocations: 72.08 kB / 0.5587 GB, free: 9.695 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3174, allocations: 0 / 0.5587 GB, free: 9.695 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.3174, allocations: 0 / 0.5587 GB, free: 9.695 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3174, allocations: 4 kB / 0.5587 GB, free: 9.691 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007307/0.3182, allocations: 347.3 kB / 0.559 GB, free: 9.305 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.756e-05/0.3182, allocations: 8.031 kB / 0.559 GB, free: 9.297 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.233e-05/0.3183, allocations: 34.56 kB / 0.559 GB, free: 9.254 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006783/0.319, allocations: 27.97 kB / 0.5591 GB, free: 9.227 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.3192, allocations: 167 kB / 0.5592 GB, free: 9.023 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.3193, allocations: 4 kB / 0.5592 GB, free: 9.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.3193, allocations: 7.953 kB / 0.5592 GB, free: 9.012 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.3196, allocations: 53.66 kB / 0.5593 GB, free: 8.953 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3196, allocations: 3.938 kB / 0.5593 GB, free: 8.949 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.3197, allocations: 0 / 0.5593 GB, free: 8.949 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3197, allocations: 0 / 0.5593 GB, free: 8.949 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.3199, allocations: 35.97 kB / 0.5593 GB, free: 8.914 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.3202, allocations: 153.7 kB / 0.5595 GB, free: 8.715 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005077/0.3208, allocations: 66.52 kB / 0.5595 GB, free: 8.641 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/0.3208, allocations: 8.078 kB / 0.5595 GB, free: 8.633 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/0.3209, allocations: 42.52 kB / 0.5596 GB, free: 8.582 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.3209, allocations: 3.938 kB / 0.5596 GB, free: 8.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.005285/0.3262, allocations: 0.5721 MB / 0.5601 GB, free: 7.953 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.357e-05/0.3263, allocations: 55.41 kB / 0.5602 GB, free: 7.887 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.3265, allocations: 93.84 kB / 0.5603 GB, free: 7.785 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.3265, allocations: 29.7 kB / 0.5603 GB, free: 7.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.3266, allocations: 84.14 kB / 0.5604 GB, free: 7.664 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.252e-05/0.3267, allocations: 15.72 kB / 0.5604 GB, free: 7.648 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-05/0.3267, allocations: 0 / 0.5604 GB, free: 7.648 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.3269, allocations: 314.8 kB / 0.5607 GB, free: 7.332 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.3272, allocations: 44.08 kB / 0.5608 GB, free: 7.289 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.3274, allocations: 39.91 kB / 0.5608 GB, free: 7.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.3276, allocations: 31.98 kB / 0.5608 GB, free: 7.219 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3277, allocations: 4 kB / 0.5608 GB, free: 7.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005812/0.3282, allocations: 125.8 kB / 0.5609 GB, free: 7.086 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.3283, allocations: 8 kB / 0.561 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3283, allocations: 0 / 0.561 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.3283, allocations: 0 / 0.561 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/0.3287, allocations: 23.97 kB / 0.561 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.3287, allocations: 0 / 0.561 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.3289, allocations: 11.98 kB / 0.561 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.329, allocations: 4.062 kB / 0.561 GB, free: 7.039 MB / 430.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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001481/0.3291, allocations: 117.8 kB / 0.5611 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.3292, allocations: 7.938 kB / 0.5611 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.3293, allocations: 15.97 kB / 0.5611 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3293, allocations: 0 / 0.5611 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.3293, allocations: 0 / 0.5611 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3294, allocations: 0 / 0.5611 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.3296, allocations: 191.6 kB / 0.5613 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3297, allocations: 0 / 0.5613 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003334/0.33, allocations: 27.91 kB / 0.5613 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.33, allocations: 3.953 kB / 0.5613 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.3301, allocations: 11.92 kB / 0.5613 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3301, allocations: 0 / 0.5613 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3301, allocations: 0 / 0.5613 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009071/0.331, allocations: 189.1 kB / 0.5615 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.3311, allocations: 77.11 kB / 0.5616 GB, free: 6.312 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.287e-05/0.3312, allocations: 7.938 kB / 0.5616 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002761/0.3315, allocations: 8 kB / 0.5616 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.3315, allocations: 3.984 kB / 0.5616 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.3316, allocations: 8 kB / 0.5616 GB, free: 6.285 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.556e-05/0.3317, allocations: 75.28 kB / 0.5617 GB, free: 6.211 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3317, allocations: 4.156 kB / 0.5617 GB, free: 6.207 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005034/0.3322, allocations: 35.92 kB / 0.5617 GB, free: 6.172 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001661/0.3339, allocations: 0.7497 MB / 0.5625 GB, free: 5.395 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000575/0.3345, allocations: 87.86 kB / 0.5626 GB, free: 5.309 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/0.3345, allocations: 4.062 kB / 0.5626 GB, free: 5.305 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.3347, allocations: 43.95 kB / 0.5626 GB, free: 5.262 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.3352, allocations: 16.28 kB / 0.5626 GB, free: 5.246 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.3376, allocations: 0.5145 MB / 0.5631 GB, free: 4.688 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.3381, allocations: 0.6906 MB / 0.5638 GB, free: 3.973 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004296/0.3386, allocations: 27.92 kB / 0.5638 GB, free: 3.945 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.3387, allocations: 19.42 kB / 0.5638 GB, free: 3.926 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3387, allocations: 0 / 0.5638 GB, free: 3.926 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.3625, allocations: 2.206 MB / 0.566 GB, free: 1.953 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003774/0.363, allocations: 231.7 kB / 0.5662 GB, free: 1.715 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.069/3.432, allocations: 4 kB / 0.5662 GB, free: 1.711 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: