Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.00432/0.00432, allocations: 102 kB / 15.73 MB, free: 6.441 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.001202/0.001202, allocations: 197.9 kB / 16.67 MB, free: 6.352 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.001/1.001, allocations: 135.5 MB / 426.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 63.91 kB / 0.5858 GB, free: 3.184 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.4624, allocations: 81.02 MB / 0.6649 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001872/0.4643, allocations: 1.247 MB / 0.6661 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004236/0.4647, allocations: 236 kB / 0.6663 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.79e-05/0.4648, allocations: 1.344 kB / 0.6663 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.4648, allocations: 3.938 kB / 0.6663 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.06e-05/0.4648, allocations: 4 kB / 0.6663 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.4651, allocations: 48.53 kB / 0.6664 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.908e-05/0.4651, allocations: 19.8 kB / 0.6664 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.4652, allocations: 2.531 kB / 0.6664 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.25e-05/0.4652, allocations: 12.36 kB / 0.6664 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.575e-05/0.4653, allocations: 4.25 kB / 0.6664 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.4653, allocations: 0 / 0.6664 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.4654, allocations: 47.92 kB / 0.6665 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.734e-05/0.4654, allocations: 9.359 kB / 0.6665 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.4655, allocations: 11.64 kB / 0.6665 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.4656, allocations: 45.03 kB / 0.6665 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4656, allocations: 1.312 kB / 0.6665 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4656, allocations: 0 / 0.6665 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.4656, allocations: 0 / 0.6665 GB, free: 5.555 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003099/0.466, allocations: 332.8 kB / 0.6669 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.466, allocations: 10.56 kB / 0.6669 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.672e-05/0.466, allocations: 30.75 kB / 0.6669 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.4662, allocations: 15.55 kB / 0.6669 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.295e-05/0.4662, allocations: 165.5 kB / 0.6671 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.4662, allocations: 1.719 kB / 0.6671 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.4663, allocations: 13.75 kB / 0.6671 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.4664, allocations: 46.53 kB / 0.6671 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.4664, allocations: 5.375 kB / 0.6671 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.4664, allocations: 0 / 0.6671 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4665, allocations: 1.125 kB / 0.6671 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.23e-05/0.4665, allocations: 15.44 kB / 0.6671 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001167/0.4666, allocations: 163.2 kB / 0.6673 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.287e-05/0.4667, allocations: 42.19 kB / 0.6673 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.63e-05/0.4668, allocations: 25.66 kB / 0.6674 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.4668, allocations: 1.5 kB / 0.6674 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.4668, allocations: 31.84 kB / 0.6674 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.4668, allocations: 0 / 0.6674 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001931/0.4687, allocations: 0.489 MB / 0.6679 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.4688, allocations: 52.72 kB / 0.6679 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.482e-05/0.4688, allocations: 93.86 kB / 0.668 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.4688, allocations: 30.8 kB / 0.668 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.303e-05/0.4688, allocations: 84.12 kB / 0.6681 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.4689, allocations: 27.72 kB / 0.6682 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.4689, allocations: 22.81 kB / 0.6682 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.652e-05/0.469, allocations: 316.2 kB / 0.6685 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.289e-05/0.469, allocations: 27.31 kB / 0.6685 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.006e-05/0.4691, allocations: 27.89 kB / 0.6685 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.4e-05/0.4692, allocations: 59.09 kB / 0.6686 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4692, allocations: 4 kB / 0.6686 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001285/0.4693, allocations: 95.83 kB / 0.6687 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.4693, allocations: 6.625 kB / 0.6687 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4693, allocations: 0 / 0.6687 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.4694, allocations: 0 / 0.6687 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.4695, allocations: 16.22 kB / 0.6687 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.4695, allocations: 1.438 kB / 0.6687 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.999e-05/0.4696, allocations: 0 / 0.6687 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.4696, allocations: 2.531 kB / 0.6687 GB, free: 3.418 MB / 0.4981 GB 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 (9): * Single equations (assignments): 9 * 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.291e-05/0.4696, allocations: 115.2 kB / 0.6688 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.4697, allocations: 14.91 kB / 0.6688 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.734e-05/0.4697, allocations: 11.97 kB / 0.6688 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4697, allocations: 5.312 kB / 0.6688 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4697, allocations: 0 / 0.6688 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.4697, allocations: 0 / 0.6688 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.569e-05/0.4698, allocations: 177.7 kB / 0.669 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4698, allocations: 288 / 0.669 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.47, allocations: 15.06 kB / 0.669 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.47, allocations: 1.438 kB / 0.669 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.47, allocations: 8.375 kB / 0.669 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.47, allocations: 1.125 kB / 0.669 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.47, allocations: 0 / 0.669 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.4702, allocations: 149.9 kB / 0.6692 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.128e-05/0.4703, allocations: 90.22 kB / 0.6693 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.4703, allocations: 5.344 kB / 0.6693 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.4704, allocations: 4.75 kB / 0.6693 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.965e-05/0.4704, allocations: 9.266 kB / 0.6693 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.4704, allocations: 2.938 kB / 0.6693 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.292e-05/0.4705, allocations: 75.28 kB / 0.6694 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4705, allocations: 0 / 0.6694 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001825/0.4707, allocations: 13.56 kB / 0.6694 GB, free: 2.73 MB / 0.4981 GB 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 (8): * Single equations (assignments): 8 * 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.0003593/0.471, allocations: 0.6809 MB / 0.67 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.4712, allocations: 65.25 kB / 0.6701 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4712, allocations: 1.375 kB / 0.6701 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.924e-05/0.4712, allocations: 29.31 kB / 0.6701 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.4715, allocations: 16.31 kB / 0.6701 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.4725, allocations: 1.275 MB / 0.6714 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.382e-05/0.4726, allocations: 0.6797 MB / 0.6721 GB, free: 116 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.4e-05/0.4727, allocations: 14.83 kB / 0.6721 GB, free: 104 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.611e-05/0.4727, allocations: 13.94 kB / 0.6721 GB, free: 92 kB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.4727, allocations: 0 / 0.6721 GB, free: 92 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.4963, allocations: 1.639 MB / 0.6737 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/8.478, allocations: 6.641 kB / 0.6737 GB, free: 15.26 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)