Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007632/0.0007632, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.004858/0.004858, allocations: 170 kB / 16.27 MB, free: 6.652 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.401/1.401, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.813/0.813, allocations: 132.4 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004132/0.0004135, allocations: 8.562 kB / 0.504 GB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4816/0.4821, allocations: 81.57 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001538/0.4836, allocations: 1.137 MB / 0.5848 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.4847, allocations: 0.6043 MB / 0.5854 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.4847, allocations: 0.9062 kB / 0.5854 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.4848, allocations: 0.6562 kB / 0.5854 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.443e-05/0.4848, allocations: 5.578 kB / 0.5854 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.4852, allocations: 83.77 kB / 0.5854 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.613e-05/0.4853, allocations: 24.59 kB / 0.5855 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.4854, allocations: 7.672 kB / 0.5855 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.876e-05/0.4855, allocations: 4.953 kB / 0.5855 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.446e-05/0.4855, allocations: 14.23 kB / 0.5855 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.4855, allocations: 1.125 kB / 0.5855 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003369/0.4859, allocations: 145.4 kB / 0.5856 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.4859, allocations: 5.938 kB / 0.5856 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.538e-05/0.4859, allocations: 33.88 kB / 0.5857 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.4862, allocations: 107.4 kB / 0.5858 GB, free: 2.625 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4862, allocations: 0.6875 kB / 0.5858 GB, free: 2.625 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4862, allocations: 0 / 0.5858 GB, free: 2.625 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.4863, allocations: 0.7812 kB / 0.5858 GB, free: 2.625 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004942/0.4868, allocations: 361.9 kB / 0.5861 GB, free: 2.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.4868, allocations: 10.12 kB / 0.5861 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004509/0.4873, allocations: 34.86 kB / 0.5862 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.4874, allocations: 163.5 kB / 0.5863 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.4874, allocations: 1.656 kB / 0.5863 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.4874, allocations: 5.844 kB / 0.5863 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.4877, allocations: 71 kB / 0.5864 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4877, allocations: 1.125 kB / 0.5864 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.4878, allocations: 3.938 kB / 0.5864 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.4878, allocations: 0.875 kB / 0.5864 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/0.4881, allocations: 73.48 kB / 0.5865 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000464/0.4886, allocations: 278.5 kB / 0.5867 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.4888, allocations: 68.3 kB / 0.5868 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.489, allocations: 36.58 kB / 0.5868 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.489, allocations: 0 / 0.5868 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.489, allocations: 32.2 kB / 0.5869 GB, free: 1.602 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.4891, allocations: 4 kB / 0.5869 GB, free: 1.598 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005813/0.4896, allocations: 135 kB / 0.587 GB, free: 1.543 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.4897, allocations: 52.25 kB / 0.587 GB, free: 1.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.591e-05/0.4897, allocations: 97.3 kB / 0.5871 GB, free: 1.383 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.4898, allocations: 27.08 kB / 0.5872 GB, free: 1.352 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/0.4898, allocations: 88.73 kB / 0.5873 GB, free: 1.262 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.4898, allocations: 5.938 kB / 0.5873 GB, free: 1.258 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.4898, allocations: 11.09 kB / 0.5873 GB, free: 1.242 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.877e-05/0.4899, allocations: 316.4 kB / 0.5876 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.4901, allocations: 34.17 kB / 0.5876 GB, free: 0.918 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.4902, allocations: 30.83 kB / 0.5876 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.4905, allocations: 72.89 kB / 0.5877 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4905, allocations: 0 / 0.5877 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003179/0.4908, allocations: 101.3 kB / 0.5878 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.4909, allocations: 5.156 kB / 0.5878 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.4909, allocations: 0.6094 kB / 0.5878 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.4909, allocations: 0.75 kB / 0.5878 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.491, allocations: 19.77 kB / 0.5878 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4911, allocations: 1.859 kB / 0.5878 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.343e-05/0.4911, allocations: 9.688 kB / 0.5878 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.4912, allocations: 2.797 kB / 0.5878 GB, free: 0.8398 MB / 430.1 MB 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 (2): * Single equations (assignments): 2 * 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 6.119e-05/0.4912, allocations: 117.4 kB / 0.5879 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.4913, allocations: 1.469 kB / 0.5879 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.593e-05/0.4913, allocations: 9.062 kB / 0.588 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.4913, allocations: 5.922 kB / 0.588 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.4913, allocations: 0 / 0.588 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.4913, allocations: 0 / 0.588 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.4915, allocations: 172.5 kB / 0.5881 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4915, allocations: 4.875 kB / 0.5881 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.4916, allocations: 19.17 kB / 0.5882 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.4916, allocations: 4.656 kB / 0.5882 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.4917, allocations: 2.422 kB / 0.5882 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.4917, allocations: 0 / 0.5882 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4917, allocations: 1.375 kB / 0.5882 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.492, allocations: 196.6 kB / 0.5883 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.368e-05/0.4921, allocations: 82.62 kB / 0.5884 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.4921, allocations: 6.078 kB / 0.5884 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.4922, allocations: 10.81 kB / 0.5884 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.4923, allocations: 2.609 kB / 0.5884 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.4923, allocations: 9.891 kB / 0.5885 GB, free: 240 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.068e-05/0.4923, allocations: 79.86 kB / 0.5885 GB, free: 164 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4924, allocations: 0 / 0.5885 GB, free: 164 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.4926, allocations: 19.77 kB / 0.5885 GB, free: 156 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001885/0.4928, allocations: 103 kB / 0.5886 GB, free: 68 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003878/0.4932, allocations: 73.59 kB / 0.5887 GB, free: 52 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4932, allocations: 0 / 0.5887 GB, free: 52 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.4934, allocations: 38.44 kB / 0.5888 GB, free: 44 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.4937, allocations: 6.438 kB / 0.5888 GB, free: 40 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004546/0.4941, allocations: 141.2 kB / 0.5889 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.4944, allocations: 0.6766 MB / 0.5896 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.213e-05/0.4945, allocations: 15.53 kB / 0.5896 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.4945, allocations: 11.02 kB / 0.5896 GB, free: 15.21 MB / 446.1 MB Notification: Performance of SimCode: time 3.236e-06/0.4946, allocations: 0 / 0.5896 GB, free: 15.21 MB / 446.1 MB Notification: Performance of Templates: time 0.003339/0.4979, allocations: 0.7092 MB / 0.5903 GB, free: 15.12 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)