Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_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.0008018/0.0008019, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005324/0.005323, allocations: 170 kB / 16.26 MB, free: 6.613 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: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7867/0.7867, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 12.55 kB / 0.5041 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4615/0.4619, allocations: 81.57 MB / 0.5838 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00135/0.4633, allocations: 1.013 MB / 0.5848 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.4644, allocations: 0.6435 MB / 0.5854 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.56e-05/0.4644, allocations: 0.9375 kB / 0.5854 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.4644, allocations: 0.5156 kB / 0.5854 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.472e-05/0.4645, allocations: 9.375 kB / 0.5854 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.4648, allocations: 87.59 kB / 0.5855 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.97e-05/0.4649, allocations: 30.88 kB / 0.5855 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.862e-05/0.465, allocations: 6.078 kB / 0.5855 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.589e-05/0.465, allocations: 7.672 kB / 0.5855 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.525e-05/0.4651, allocations: 14.95 kB / 0.5855 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.4651, allocations: 1.219 kB / 0.5855 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.4654, allocations: 150.3 kB / 0.5857 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.4654, allocations: 3.422 kB / 0.5857 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.369e-05/0.4655, allocations: 39.05 kB / 0.5857 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.4657, allocations: 102 kB / 0.5858 GB, free: 2.508 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.4657, allocations: 4.688 kB / 0.5858 GB, free: 2.504 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.4657, allocations: 0 / 0.5858 GB, free: 2.504 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.4657, allocations: 4.688 kB / 0.5858 GB, free: 2.5 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.0003716/0.4661, allocations: 347.2 kB / 0.5862 GB, free: 2.133 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.4661, allocations: 9.688 kB / 0.5862 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.414e-05/0.4662, allocations: 36.48 kB / 0.5862 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004085/0.4666, allocations: 27.66 kB / 0.5862 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.734e-05/0.4667, allocations: 173.6 kB / 0.5864 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.4667, allocations: 2.562 kB / 0.5864 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.4667, allocations: 1.797 kB / 0.5864 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.4669, allocations: 54.38 kB / 0.5864 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.4669, allocations: 4.719 kB / 0.5865 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.4669, allocations: 4.812 kB / 0.5865 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.467, allocations: 0 / 0.5865 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.4671, allocations: 31.02 kB / 0.5865 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.4673, allocations: 157 kB / 0.5866 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.4676, allocations: 71.41 kB / 0.5867 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.852e-05/0.4677, allocations: 29.89 kB / 0.5867 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.4677, allocations: 1.031 kB / 0.5867 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.4677, allocations: 36.34 kB / 0.5868 GB, free: 1.543 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.4677, allocations: 0 / 0.5868 GB, free: 1.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.003431/0.4712, allocations: 0.5801 MB / 0.5873 GB, free: 1.199 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.4712, allocations: 52.88 kB / 0.5874 GB, free: 1.137 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.131e-05/0.4713, allocations: 94.16 kB / 0.5875 GB, free: 1.039 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.4713, allocations: 26.45 kB / 0.5875 GB, free: 1.008 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.702e-05/0.4713, allocations: 89.61 kB / 0.5876 GB, free: 0.918 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.4714, allocations: 19.78 kB / 0.5876 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.4714, allocations: 16.31 kB / 0.5876 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.901e-05/0.4715, allocations: 320.5 kB / 0.5879 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.4716, allocations: 38.56 kB / 0.588 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.4718, allocations: 39.66 kB / 0.588 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.472, allocations: 82.55 kB / 0.5881 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.472, allocations: 0 / 0.5881 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003543/0.4724, allocations: 126.4 kB / 0.5882 GB, free: 452 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.4724, allocations: 5.156 kB / 0.5882 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.4724, allocations: 0 / 0.5882 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.4725, allocations: 5.125 kB / 0.5882 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.4727, allocations: 25.97 kB / 0.5882 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.4727, allocations: 0.7188 kB / 0.5882 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.4729, allocations: 6.812 kB / 0.5882 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.4729, allocations: 4.484 kB / 0.5882 GB, free: 444 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.89e-05/0.473, allocations: 114.2 kB / 0.5884 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.473, allocations: 6.734 kB / 0.5884 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.72e-05/0.4731, allocations: 13.47 kB / 0.5884 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.4731, allocations: 1.484 kB / 0.5884 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4731, allocations: 0.8438 kB / 0.5884 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.4731, allocations: 0.7031 kB / 0.5884 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.4732, allocations: 185.9 kB / 0.5886 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.4732, allocations: 5.391 kB / 0.5886 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.4735, allocations: 25.22 kB / 0.5886 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4735, allocations: 1.547 kB / 0.5886 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.4735, allocations: 4.188 kB / 0.5886 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4735, allocations: 1.031 kB / 0.5886 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4735, allocations: 0 / 0.5886 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000585/0.4741, allocations: 191.8 kB / 0.5888 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.4742, allocations: 87.08 kB / 0.5889 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.4742, allocations: 1.344 kB / 0.5889 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.4744, allocations: 10.09 kB / 0.5889 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.4744, allocations: 11.28 kB / 0.5889 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.4745, allocations: 13.58 kB / 0.5889 GB, free: 15.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.484e-05/0.4745, allocations: 77.81 kB / 0.589 GB, free: 15.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4745, allocations: 0 / 0.589 GB, free: 15.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002915/0.4748, allocations: 28.53 kB / 0.589 GB, free: 15.78 MB / 446.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 (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.001022/0.4758, allocations: 0.751 MB / 0.5897 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003652/0.4762, allocations: 87.62 kB / 0.5898 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4762, allocations: 0 / 0.5898 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.4764, allocations: 48.11 kB / 0.5899 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.4766, allocations: 15.7 kB / 0.5899 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.4788, allocations: 1.366 MB / 0.5912 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.4791, allocations: 0.6793 MB / 0.5919 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002258/0.4793, allocations: 24.11 kB / 0.5919 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.275e-05/0.4794, allocations: 17.56 kB / 0.5919 GB, free: 13.18 MB / 446.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4794, allocations: 1.375 kB / 0.5919 GB, free: 13.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0144/0.4938, allocations: 2.239 MB / 0.5941 GB, free: 13.03 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003188/0.4942, allocations: 253.5 kB / 0.5943 GB, free: 12.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.341, allocations: 2.812 kB / 0.5943 GB, free: 12.77 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)