Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001506/0.001505, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00155/0.00155, allocations: 190.5 kB / 16.13 MB, free: 6.645 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.357/1.357, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.147/1.147, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 72.78 kB / 0.5047 GB, free: 5.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.201, allocations: 80.92 MB / 0.5837 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003335/0.2044, allocations: 1.457 MB / 0.5851 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.2058, allocations: 0.6123 MB / 0.5857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.129e-05/0.2058, allocations: 0 / 0.5857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.024e-05/0.2059, allocations: 0 / 0.5857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.2e-05/0.206, allocations: 7.938 kB / 0.5857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005015/0.2065, allocations: 87.64 kB / 0.5858 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.506e-05/0.2066, allocations: 27.91 kB / 0.5858 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.663e-05/0.2067, allocations: 7.984 kB / 0.5858 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.485e-05/0.2068, allocations: 15.92 kB / 0.5859 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.686e-05/0.2068, allocations: 4 kB / 0.5859 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.2068, allocations: 0 / 0.5859 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003541/0.2072, allocations: 151.7 kB / 0.586 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.2072, allocations: 3.984 kB / 0.586 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.2073, allocations: 15.94 kB / 0.586 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.2076, allocations: 100 kB / 0.5861 GB, free: 2.543 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2076, allocations: 4 kB / 0.5861 GB, free: 2.539 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2076, allocations: 0 / 0.5861 GB, free: 2.539 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2076, allocations: 0 / 0.5861 GB, free: 2.539 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005674/0.2082, allocations: 355.4 kB / 0.5865 GB, free: 2.141 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.2082, allocations: 12.03 kB / 0.5865 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004757/0.2087, allocations: 28.91 kB / 0.5865 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.2088, allocations: 164.4 kB / 0.5867 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.2089, allocations: 4.312 kB / 0.5867 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.2089, allocations: 4.375 kB / 0.5867 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.2091, allocations: 62.2 kB / 0.5867 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.2092, allocations: 4.125 kB / 0.5867 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.2092, allocations: 7.938 kB / 0.5867 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2092, allocations: 4 kB / 0.5867 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002926/0.2095, allocations: 51.94 kB / 0.5868 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005081/0.21, allocations: 272.8 kB / 0.5871 GB, free: 1.445 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.2102, allocations: 66.41 kB / 0.5871 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.2104, allocations: 28.91 kB / 0.5871 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.2104, allocations: 3.984 kB / 0.5872 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.2105, allocations: 38.56 kB / 0.5872 GB, free: 1.289 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.904e-06/0.2105, allocations: 0 / 0.5872 GB, free: 1.289 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005678/0.211, allocations: 109.6 kB / 0.5873 GB, free: 1.176 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.2111, allocations: 55.34 kB / 0.5873 GB, free: 1.109 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.717e-05/0.2112, allocations: 106 kB / 0.5874 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.2112, allocations: 25.7 kB / 0.5875 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/0.2113, allocations: 84.08 kB / 0.5876 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.2113, allocations: 11.89 kB / 0.5876 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/0.2114, allocations: 21.64 kB / 0.5876 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2115, allocations: 314.8 kB / 0.5879 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.2117, allocations: 27.97 kB / 0.5879 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.2118, allocations: 27.97 kB / 0.5879 GB, free: 480 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.212, allocations: 48.81 kB / 0.588 GB, free: 428 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.2121, allocations: 4 kB / 0.588 GB, free: 424 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003107/0.2124, allocations: 101.6 kB / 0.5881 GB, free: 316 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2124, allocations: 4 kB / 0.5881 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2124, allocations: 0 / 0.5881 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2124, allocations: 0 / 0.5881 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.2126, allocations: 15.98 kB / 0.5881 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2126, allocations: 32 / 0.5881 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.2127, allocations: 15.98 kB / 0.5881 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.2127, allocations: 0 / 0.5881 GB, free: 280 kB / 494.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 7.869e-05/0.2128, allocations: 113.8 kB / 0.5882 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.2128, allocations: 7.906 kB / 0.5882 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.2129, allocations: 7.125 kB / 0.5882 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.2129, allocations: 0 / 0.5882 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2129, allocations: 7.938 kB / 0.5882 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2129, allocations: 0 / 0.5882 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.2131, allocations: 165.6 kB / 0.5884 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2131, allocations: 0 / 0.5884 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.2132, allocations: 15.97 kB / 0.5884 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2133, allocations: 0 / 0.5884 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.2133, allocations: 192 / 0.5884 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2133, allocations: 0 / 0.5884 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2133, allocations: 0 / 0.5884 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.2136, allocations: 199.3 kB / 0.5886 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.2137, allocations: 77.11 kB / 0.5887 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.2137, allocations: 0 / 0.5887 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.2138, allocations: 7.984 kB / 0.5887 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.2139, allocations: 12.03 kB / 0.5887 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.2139, allocations: 0 / 0.5887 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.573e-05/0.2139, allocations: 83.27 kB / 0.5888 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2139, allocations: 0 / 0.5888 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002526/0.2142, allocations: 16 kB / 0.5888 GB, free: 15.48 MB / 0.4981 GB 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.0001745/0.2144, allocations: 103.2 kB / 0.5889 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003078/0.2147, allocations: 63.94 kB / 0.589 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2147, allocations: 0 / 0.589 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.2149, allocations: 31.91 kB / 0.589 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.2152, allocations: 13.94 kB / 0.589 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004359/0.2156, allocations: 144.4 kB / 0.5891 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.2158, allocations: 0.677 MB / 0.5898 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.678e-05/0.216, allocations: 11.98 kB / 0.5898 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.216, allocations: 11.44 kB / 0.5898 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.216, allocations: 0 / 0.5898 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of Templates: time 0.002914/0.2189, allocations: 0.7132 MB / 0.5905 GB, free: 13.67 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)