Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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: translateModel(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001069, allocations: 108 kB / 15.61 MB, free: 152 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.001082/0.001082, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9613/0.9613, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.61 kB / 0.5054 GB, free: 5.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1729, allocations: 80.93 MB / 0.5844 GB, free: 4.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00266/0.1756, allocations: 1.275 MB / 0.5856 GB, free: 3.242 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.1769, allocations: 0.6372 MB / 0.5863 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.177, allocations: 0 / 0.5863 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.759e-05/0.177, allocations: 0 / 0.5863 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.642e-05/0.1771, allocations: 7.922 kB / 0.5863 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006183/0.1777, allocations: 111.5 kB / 0.5864 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.05e-05/0.1778, allocations: 23.92 kB / 0.5864 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.16e-05/0.1778, allocations: 7.984 kB / 0.5864 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.758e-05/0.1779, allocations: 15.92 kB / 0.5864 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.557e-05/0.1779, allocations: 8 kB / 0.5864 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.178, allocations: 4 kB / 0.5864 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000325/0.1783, allocations: 143.7 kB / 0.5866 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.1783, allocations: 7.984 kB / 0.5866 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.1784, allocations: 7.938 kB / 0.5866 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.1786, allocations: 104 kB / 0.5867 GB, free: 2.168 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1786, allocations: 3.938 kB / 0.5867 GB, free: 2.164 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1786, allocations: 0 / 0.5867 GB, free: 2.164 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1787, allocations: 0 / 0.5867 GB, free: 2.164 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000555/0.1792, allocations: 359.4 kB / 0.587 GB, free: 1.762 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1793, allocations: 8.031 kB / 0.587 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004464/0.1797, allocations: 28.89 kB / 0.5871 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.1798, allocations: 164.4 kB / 0.5872 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.1799, allocations: 4.375 kB / 0.5872 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.1799, allocations: 4.375 kB / 0.5872 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.1801, allocations: 58.16 kB / 0.5873 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1801, allocations: 192 / 0.5873 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1801, allocations: 3.938 kB / 0.5873 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1801, allocations: 0 / 0.5873 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.1803, allocations: 31.97 kB / 0.5873 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.1805, allocations: 169.7 kB / 0.5875 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003304/0.1808, allocations: 66.53 kB / 0.5875 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.721e-05/0.1809, allocations: 24.94 kB / 0.5876 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.181, allocations: 3.938 kB / 0.5876 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.181, allocations: 34.56 kB / 0.5876 GB, free: 1.059 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.181, allocations: 0 / 0.5876 GB, free: 1.059 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003624/0.1846, allocations: 0.5759 MB / 0.5882 GB, free: 440 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.1847, allocations: 59.41 kB / 0.5882 GB, free: 368 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.791e-05/0.1847, allocations: 101.8 kB / 0.5883 GB, free: 256 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.1848, allocations: 25.7 kB / 0.5883 GB, free: 224 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.837e-05/0.1848, allocations: 80.14 kB / 0.5884 GB, free: 140 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.1849, allocations: 23.7 kB / 0.5884 GB, free: 116 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-05/0.1849, allocations: 25.69 kB / 0.5885 GB, free: 84 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1851, allocations: 318.8 kB / 0.5888 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.1852, allocations: 36.09 kB / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.1854, allocations: 35.97 kB / 0.5888 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.1857, allocations: 88.69 kB / 0.5889 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1857, allocations: 0 / 0.5889 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003919/0.1861, allocations: 117.6 kB / 0.589 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1861, allocations: 11.94 kB / 0.589 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.1861, allocations: 0 / 0.589 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1861, allocations: 0 / 0.589 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.1864, allocations: 27.97 kB / 0.5891 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1864, allocations: 3.984 kB / 0.5891 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.1866, allocations: 4 kB / 0.5891 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.1866, allocations: 7.984 kB / 0.5891 GB, free: 15.43 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 (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 8.63e-05/0.1867, allocations: 113.8 kB / 0.5892 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.1867, allocations: 7.844 kB / 0.5892 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.971e-05/0.1868, allocations: 15.97 kB / 0.5892 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1868, allocations: 0 / 0.5892 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1868, allocations: 0 / 0.5892 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1868, allocations: 0 / 0.5892 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.187, allocations: 187.7 kB / 0.5894 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.187, allocations: 0 / 0.5894 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.1872, allocations: 23.97 kB / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.82e-06/0.1872, allocations: 7.938 kB / 0.5894 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.1873, allocations: 3.984 kB / 0.5894 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1873, allocations: 0 / 0.5894 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1873, allocations: 0 / 0.5894 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000556/0.1878, allocations: 193 kB / 0.5896 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.1879, allocations: 88.94 kB / 0.5897 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.1879, allocations: 0 / 0.5897 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.1881, allocations: 15.97 kB / 0.5897 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.388e-05/0.1882, allocations: 8.109 kB / 0.5897 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.1882, allocations: 7.984 kB / 0.5897 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.185e-05/0.1882, allocations: 83.34 kB / 0.5898 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1882, allocations: 0 / 0.5898 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002695/0.1885, allocations: 31.94 kB / 0.5898 GB, free: 14.55 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 (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.0001987/0.1887, allocations: 123.2 kB / 0.59 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000364/0.1891, allocations: 91.95 kB / 0.59 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1891, allocations: 0 / 0.59 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.1893, allocations: 47.95 kB / 0.5901 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.1895, allocations: 4 kB / 0.5901 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000668/0.1902, allocations: 166 kB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.1904, allocations: 0.6845 MB / 0.5909 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002394/0.1907, allocations: 28.38 kB / 0.5909 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.256e-05/0.1908, allocations: 19.42 kB / 0.591 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.1908, allocations: 0 / 0.591 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.004039/0.1948, allocations: 1.508 MB / 0.5924 GB, free: 11.88 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)