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.001428/0.001428, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.00166/0.00166, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.276/2.276, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.428/1.428, allocations: 135.2 MB / 426.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003023, allocations: 8 kB / 0.5069 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1501, allocations: 82.32 MB / 0.5873 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001236/0.1514, allocations: 0.955 MB / 0.5882 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004163/0.1518, allocations: 215.4 kB / 0.5884 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.3e-05/0.1518, allocations: 0 / 0.5884 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.369e-05/0.1518, allocations: 3.938 kB / 0.5884 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.059e-05/0.1519, allocations: 0 / 0.5884 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.1521, allocations: 39.88 kB / 0.5885 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.594e-05/0.1522, allocations: 19.97 kB / 0.5885 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.1522, allocations: 0 / 0.5885 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.311e-05/0.1522, allocations: 4 kB / 0.5885 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.77e-05/0.1523, allocations: 15.92 kB / 0.5885 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.1523, allocations: 0 / 0.5885 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.933e-05/0.1524, allocations: 43.95 kB / 0.5886 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.1524, allocations: 7.984 kB / 0.5886 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.1525, allocations: 29.7 kB / 0.5886 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.025e-05/0.1525, allocations: 20.25 kB / 0.5886 GB, free: 1.637 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.1526, allocations: 4 kB / 0.5886 GB, free: 1.633 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1526, allocations: 4 kB / 0.5886 GB, free: 1.629 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1526, allocations: 0 / 0.5886 GB, free: 1.629 MB / 494.1 MB 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.0003452/0.1529, allocations: 331.4 kB / 0.5889 GB, free: 1.258 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.153, allocations: 12.03 kB / 0.589 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.995e-05/0.153, allocations: 30.56 kB / 0.589 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.1531, allocations: 15.88 kB / 0.589 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.523e-05/0.1532, allocations: 175 kB / 0.5892 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.1533, allocations: 4 kB / 0.5892 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.1533, allocations: 0 / 0.5892 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.1534, allocations: 41.69 kB / 0.5892 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.66e-06/0.1534, allocations: 3.938 kB / 0.5892 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1534, allocations: 4 kB / 0.5892 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.1534, allocations: 0 / 0.5892 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.344e-05/0.1535, allocations: 15.98 kB / 0.5892 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.1536, allocations: 161.6 kB / 0.5894 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.569e-05/0.1537, allocations: 50.56 kB / 0.5894 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.1538, allocations: 0 / 0.5894 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.1538, allocations: 30.56 kB / 0.5895 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 7.81e-07/0.1538, allocations: 0 / 0.5895 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.001997/0.1558, allocations: 0.4907 MB / 0.5899 GB, free: 60 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.1559, allocations: 55.41 kB / 0.59 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.533e-05/0.1559, allocations: 93.84 kB / 0.5901 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.156, allocations: 25.7 kB / 0.5901 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.205e-05/0.156, allocations: 84.14 kB / 0.5902 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.788e-05/0.156, allocations: 31.56 kB / 0.5902 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/0.1561, allocations: 0 / 0.5902 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1562, allocations: 322.7 kB / 0.5905 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.631e-05/0.1562, allocations: 23.94 kB / 0.5905 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.807e-05/0.1563, allocations: 23.98 kB / 0.5906 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.374e-05/0.1563, allocations: 24 kB / 0.5906 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1563, allocations: 0 / 0.5906 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001465/0.1565, allocations: 93.75 kB / 0.5907 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.1565, allocations: 4 kB / 0.5907 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1565, allocations: 8 kB / 0.5907 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.1565, allocations: 0 / 0.5907 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.1567, allocations: 15.98 kB / 0.5907 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1567, allocations: 0 / 0.5907 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.651e-05/0.1568, allocations: 8 kB / 0.5907 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.1568, allocations: 0 / 0.5907 GB, free: 15.21 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.508e-05/0.1569, allocations: 120 kB / 0.5908 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.1569, allocations: 3.906 kB / 0.5908 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.631e-05/0.1569, allocations: 15.91 kB / 0.5909 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1569, allocations: 4 kB / 0.5909 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.157, allocations: 4 kB / 0.5909 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.157, allocations: 0 / 0.5909 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.1571, allocations: 183.4 kB / 0.591 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1571, allocations: 0 / 0.591 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.1573, allocations: 15.98 kB / 0.5911 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1573, allocations: 0 / 0.5911 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.1573, allocations: 0 / 0.5911 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1573, allocations: 4 kB / 0.5911 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1573, allocations: 288 / 0.5911 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.1576, allocations: 152.9 kB / 0.5912 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.1576, allocations: 77.11 kB / 0.5913 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.1576, allocations: 0 / 0.5913 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.1577, allocations: 12.02 kB / 0.5913 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.237e-05/0.1578, allocations: 4 kB / 0.5913 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.1578, allocations: 0 / 0.5913 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.054e-05/0.1578, allocations: 75.28 kB / 0.5914 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1578, allocations: 0 / 0.5914 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002111/0.158, allocations: 20.06 kB / 0.5914 GB, free: 14.44 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 (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.0005175/0.1586, allocations: 0.6906 MB / 0.5921 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001379/0.1587, allocations: 55.98 kB / 0.5921 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1587, allocations: 0 / 0.5921 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.977e-05/0.1588, allocations: 35.98 kB / 0.5921 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.159, allocations: 8 kB / 0.5921 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008184/0.1598, allocations: 470.5 kB / 0.5926 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.1601, allocations: 0.6848 MB / 0.5933 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.82e-05/0.1602, allocations: 16.11 kB / 0.5933 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.826e-05/0.1602, allocations: 15.44 kB / 0.5933 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1602, allocations: 0 / 0.5933 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.1895, allocations: 1.37 MB / 0.5946 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002783/0.1898, allocations: 231.4 kB / 0.5949 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/1.923, allocations: 0 / 0.5949 GB, free: 10.98 MB / 0.4981 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/linux/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) Environment - environmentSimulation: