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.00837/0.00837, allocations: 101.6 kB / 15.73 MB, free: 6.008 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.001937/0.001937, allocations: 188.3 kB / 16.67 MB, free: 5.93 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8059/0.8059, allocations: 135.1 MB / 425.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 61.47 kB / 0.5856 GB, free: 21.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1775, allocations: 80.92 MB / 0.6647 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002617/0.1802, allocations: 1.279 MB / 0.6659 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.1814, allocations: 0.6437 MB / 0.6665 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.903e-05/0.1814, allocations: 0 / 0.6665 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.071e-05/0.1815, allocations: 4 kB / 0.6665 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.379e-05/0.1815, allocations: 7.922 kB / 0.6665 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.182, allocations: 107.5 kB / 0.6666 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.612e-05/0.1821, allocations: 27.91 kB / 0.6667 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.303e-05/0.1822, allocations: 0 / 0.6667 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.184e-05/0.1822, allocations: 19.92 kB / 0.6667 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.799e-05/0.1823, allocations: 7.984 kB / 0.6667 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.1823, allocations: 0 / 0.6667 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002928/0.1826, allocations: 147.7 kB / 0.6668 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.1826, allocations: 7.922 kB / 0.6668 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.1827, allocations: 8 kB / 0.6669 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.1829, allocations: 99.75 kB / 0.6669 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1829, allocations: 4 kB / 0.667 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1829, allocations: 4 kB / 0.667 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.1829, allocations: 0 / 0.667 GB, free: 3.383 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005667/0.1835, allocations: 355.4 kB / 0.6673 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1836, allocations: 13.11 kB / 0.6673 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004315/0.184, allocations: 32.89 kB / 0.6673 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.1841, allocations: 160.4 kB / 0.6675 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1841, allocations: 384 / 0.6675 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.1842, allocations: 8.375 kB / 0.6675 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.1844, allocations: 58.16 kB / 0.6676 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1844, allocations: 192 / 0.6676 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.1844, allocations: 7.875 kB / 0.6676 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1844, allocations: 3.984 kB / 0.6676 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.1845, allocations: 31.97 kB / 0.6676 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.1847, allocations: 165.6 kB / 0.6678 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.1851, allocations: 70.41 kB / 0.6678 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.103e-05/0.1852, allocations: 32.94 kB / 0.6679 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.1852, allocations: 0 / 0.6679 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.1852, allocations: 34.56 kB / 0.6679 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1852, allocations: 0 / 0.6679 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.003323/0.1885, allocations: 0.5681 MB / 0.6684 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.1886, allocations: 59.39 kB / 0.6685 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.37e-05/0.1887, allocations: 93.86 kB / 0.6686 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.1887, allocations: 25.7 kB / 0.6686 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.284e-05/0.1887, allocations: 84.14 kB / 0.6687 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.1888, allocations: 15.72 kB / 0.6687 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.643e-05/0.1888, allocations: 33.81 kB / 0.6687 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.637e-05/0.1889, allocations: 310.8 kB / 0.669 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.1891, allocations: 39.97 kB / 0.6691 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.1892, allocations: 43.89 kB / 0.6691 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.1895, allocations: 84.81 kB / 0.6692 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1895, allocations: 0 / 0.6692 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003484/0.1898, allocations: 117.6 kB / 0.6693 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1899, allocations: 13.5 kB / 0.6693 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1899, allocations: 3.984 kB / 0.6693 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1899, allocations: 4 kB / 0.6693 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.1901, allocations: 19.97 kB / 0.6694 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1901, allocations: 64 / 0.6694 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.1903, allocations: 8 kB / 0.6694 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.1903, allocations: 11.92 kB / 0.6694 GB, free: 0.6406 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.005e-05/0.1904, allocations: 113.8 kB / 0.6695 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.1904, allocations: 7.938 kB / 0.6695 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.224e-05/0.1905, allocations: 11.91 kB / 0.6695 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1905, allocations: 4 kB / 0.6695 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1905, allocations: 0 / 0.6695 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1905, allocations: 0 / 0.6695 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.1907, allocations: 191.4 kB / 0.6697 GB, free: 264 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1907, allocations: 4 kB / 0.6697 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.191, allocations: 23.97 kB / 0.6697 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.191, allocations: 3.938 kB / 0.6697 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.191, allocations: 7.984 kB / 0.6697 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.191, allocations: 0 / 0.6697 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.191, allocations: 0 / 0.6697 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.1915, allocations: 196.9 kB / 0.6699 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.1916, allocations: 85.08 kB / 0.67 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.1916, allocations: 0 / 0.67 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.1918, allocations: 16.05 kB / 0.67 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.1918, allocations: 336 / 0.67 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.1919, allocations: 11.98 kB / 0.67 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.172e-05/0.1919, allocations: 75.28 kB / 0.6701 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1919, allocations: 0 / 0.6701 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002458/0.1922, allocations: 31.94 kB / 0.6701 GB, free: 15.77 MB / 0.5137 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.0002089/0.1924, allocations: 124.7 kB / 0.6702 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003432/0.1927, allocations: 91.86 kB / 0.6703 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.1927, allocations: 4 kB / 0.6703 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.1929, allocations: 43.95 kB / 0.6704 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.1931, allocations: 12.19 kB / 0.6704 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006516/0.1938, allocations: 162 kB / 0.6705 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.1942, allocations: 0.6845 MB / 0.6712 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001638/0.1944, allocations: 36.3 kB / 0.6712 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.1944, allocations: 15.42 kB / 0.6713 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1944, allocations: 0 / 0.6713 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of Templates: time 0.004262/0.1987, allocations: 1.501 MB / 0.6727 GB, free: 13.09 MB / 0.5137 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)