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.0009596/0.0009593, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001111/0.001111, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 223.2 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9609/0.9609, allocations: 135.3 MB / 426.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003453, allocations: 8 kB / 0.5071 GB, free: 5.035 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1765, allocations: 82.32 MB / 0.5875 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001746/0.1784, allocations: 0.9783 MB / 0.5884 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005893/0.179, allocations: 213.2 kB / 0.5886 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.022e-05/0.179, allocations: 0 / 0.5886 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.1791, allocations: 0 / 0.5886 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.718e-05/0.1791, allocations: 0 / 0.5886 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.1794, allocations: 39.83 kB / 0.5887 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.366e-05/0.1795, allocations: 23.97 kB / 0.5887 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.795e-05/0.1796, allocations: 0 / 0.5887 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.287e-05/0.1796, allocations: 7.938 kB / 0.5887 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.903e-05/0.1797, allocations: 7.984 kB / 0.5887 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.1797, allocations: 3.938 kB / 0.5887 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.1799, allocations: 43.95 kB / 0.5888 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.1799, allocations: 4 kB / 0.5888 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.1799, allocations: 29.7 kB / 0.5888 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.18, allocations: 32.23 kB / 0.5888 GB, free: 1.484 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/0.18, allocations: 0 / 0.5888 GB, free: 1.484 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1801, allocations: 3.938 kB / 0.5888 GB, free: 1.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.1801, allocations: 4 kB / 0.5888 GB, free: 1.477 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.0003951/0.1805, allocations: 327.4 kB / 0.5892 GB, free: 1.109 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.1805, allocations: 12.03 kB / 0.5892 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.501e-05/0.1806, allocations: 30.56 kB / 0.5892 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.1808, allocations: 19.84 kB / 0.5892 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.71e-05/0.1809, allocations: 159.1 kB / 0.5894 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.1809, allocations: 4 kB / 0.5894 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.1809, allocations: 8 kB / 0.5894 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.1811, allocations: 41.69 kB / 0.5894 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1811, allocations: 3.938 kB / 0.5894 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1811, allocations: 0 / 0.5894 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1811, allocations: 0 / 0.5894 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.373e-05/0.1812, allocations: 19.92 kB / 0.5894 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.1813, allocations: 161.6 kB / 0.5896 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.57e-05/0.1814, allocations: 42.62 kB / 0.5896 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.34e-05/0.1815, allocations: 20.98 kB / 0.5897 GB, free: 492 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.1815, allocations: 4 kB / 0.5897 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.1815, allocations: 34.56 kB / 0.5897 GB, free: 444 kB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1816, allocations: 0 / 0.5897 GB, free: 444 kB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.00195/0.1835, allocations: 0.4941 MB / 0.5902 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.1836, allocations: 51.41 kB / 0.5902 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.731e-05/0.1836, allocations: 93.86 kB / 0.5903 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.1836, allocations: 25.7 kB / 0.5903 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/0.1837, allocations: 80.14 kB / 0.5904 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.1837, allocations: 39.48 kB / 0.5904 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-06/0.1837, allocations: 0 / 0.5904 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1839, allocations: 322.8 kB / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.467e-05/0.1839, allocations: 19.98 kB / 0.5908 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.865e-05/0.184, allocations: 20 kB / 0.5908 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.01e-05/0.184, allocations: 31.98 kB / 0.5908 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.184, allocations: 0 / 0.5908 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001476/0.1842, allocations: 93.61 kB / 0.5909 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1842, allocations: 4 kB / 0.5909 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1842, allocations: 288 / 0.5909 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1842, allocations: 8 kB / 0.5909 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.1844, allocations: 12 kB / 0.5909 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.1844, allocations: 3.938 kB / 0.5909 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.085e-05/0.1845, allocations: 448 / 0.5909 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.1845, allocations: 7.938 kB / 0.591 GB, free: 15.04 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.871e-05/0.1846, allocations: 117.8 kB / 0.5911 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.1846, allocations: 7.906 kB / 0.5911 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.467e-05/0.1847, allocations: 11.97 kB / 0.5911 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1847, allocations: 4 kB / 0.5911 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1847, allocations: 4 kB / 0.5911 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1847, allocations: 0 / 0.5911 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.1848, allocations: 175.5 kB / 0.5913 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1848, allocations: 4 kB / 0.5913 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.185, allocations: 12 kB / 0.5913 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.185, allocations: 0 / 0.5913 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.185, allocations: 0 / 0.5913 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.185, allocations: 3.984 kB / 0.5913 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.185, allocations: 0 / 0.5913 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.1853, allocations: 153 kB / 0.5914 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.1853, allocations: 81.14 kB / 0.5915 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.1853, allocations: 4 kB / 0.5915 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.737e-05/0.1854, allocations: 4 kB / 0.5915 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/0.1855, allocations: 3.984 kB / 0.5915 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.1855, allocations: 4 kB / 0.5915 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.479e-05/0.1855, allocations: 79.22 kB / 0.5916 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1855, allocations: 0 / 0.5916 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001982/0.1857, allocations: 16.06 kB / 0.5916 GB, free: 14.27 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.000489/0.1862, allocations: 0.6865 MB / 0.5923 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.1864, allocations: 59.95 kB / 0.5923 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1864, allocations: 0 / 0.5923 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.552e-05/0.1864, allocations: 39.92 kB / 0.5924 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.1866, allocations: 4.062 kB / 0.5924 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008305/0.1875, allocations: 474.6 kB / 0.5928 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.1877, allocations: 0.6809 MB / 0.5935 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.388e-05/0.1878, allocations: 12.19 kB / 0.5935 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.285e-05/0.1879, allocations: 19.08 kB / 0.5935 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.1879, allocations: 0 / 0.5935 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01252/0.2004, allocations: 1.388 MB / 0.5949 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/0.2007, allocations: 234.2 kB / 0.5951 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/1.983, allocations: 0 / 0.5951 GB, free: 10.81 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: