Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0018/0.0018, 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.002106/0.002106, allocations: 197.1 kB / 16.14 MB, free: 6.637 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.477/1.477, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.029/1.029, allocations: 135.6 MB / 425.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003175/0.003176, allocations: 68.36 kB / 0.5052 GB, free: 5.297 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2244, allocations: 81.01 MB / 0.5843 GB, free: 4.422 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.004518/0.2289, allocations: 1.461 MB / 0.5857 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007354/0.2297, allocations: 203.5 kB / 0.5859 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.658e-05/0.2298, allocations: 0 / 0.5859 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.656e-05/0.2298, allocations: 7.938 kB / 0.5859 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.972e-05/0.2299, allocations: 3.984 kB / 0.5859 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.2302, allocations: 23.91 kB / 0.586 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.322e-05/0.2303, allocations: 19.92 kB / 0.586 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.2304, allocations: 8 kB / 0.586 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.791e-05/0.2305, allocations: 4 kB / 0.586 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.121e-05/0.2305, allocations: 15.92 kB / 0.586 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.2306, allocations: 0 / 0.586 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.2307, allocations: 23.98 kB / 0.586 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.2307, allocations: 4 kB / 0.586 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.2308, allocations: 19.86 kB / 0.5861 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.231, allocations: 36.17 kB / 0.5861 GB, free: 2.582 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.231, allocations: 0 / 0.5861 GB, free: 2.582 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.231, allocations: 0 / 0.5861 GB, free: 2.582 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.231, allocations: 0 / 0.5861 GB, free: 2.582 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.0006251/0.2316, allocations: 343.4 kB / 0.5864 GB, free: 2.195 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.2317, allocations: 8.031 kB / 0.5864 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.2319, allocations: 4.938 kB / 0.5864 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.2321, allocations: 176.3 kB / 0.5866 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.2321, allocations: 384 / 0.5866 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.2321, allocations: 4.375 kB / 0.5866 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.2324, allocations: 46.23 kB / 0.5867 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.2324, allocations: 4.188 kB / 0.5867 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.2324, allocations: 3.938 kB / 0.5867 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2324, allocations: 0 / 0.5867 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/0.2327, allocations: 27.97 kB / 0.5867 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005004/0.2332, allocations: 260.8 kB / 0.5869 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.2334, allocations: 42.44 kB / 0.587 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.2335, allocations: 20.91 kB / 0.587 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.2335, allocations: 0 / 0.587 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/0.2338, allocations: 42.55 kB / 0.587 GB, free: 1.453 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.2338, allocations: 0 / 0.587 GB, free: 1.453 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000487/0.2343, allocations: 77.59 kB / 0.5871 GB, free: 1.371 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.2343, allocations: 59.39 kB / 0.5872 GB, free: 1.301 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.2345, allocations: 97.86 kB / 0.5873 GB, free: 1.195 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.2345, allocations: 29.83 kB / 0.5873 GB, free: 1.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.2346, allocations: 80.14 kB / 0.5874 GB, free: 1.078 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.2346, allocations: 3.906 kB / 0.5874 GB, free: 1.074 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.2346, allocations: 25.64 kB / 0.5874 GB, free: 1.043 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002373/0.2349, allocations: 310.8 kB / 0.5877 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.235, allocations: 15.98 kB / 0.5877 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.2351, allocations: 15.98 kB / 0.5877 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.2354, allocations: 44.88 kB / 0.5878 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2354, allocations: 0 / 0.5878 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002795/0.2357, allocations: 69.53 kB / 0.5878 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.2357, allocations: 8 kB / 0.5878 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2357, allocations: 0 / 0.5878 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.2357, allocations: 32 / 0.5878 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.2359, allocations: 8 kB / 0.5878 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.2359, allocations: 7.984 kB / 0.5879 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.773e-05/0.236, allocations: 0 / 0.5879 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.236, allocations: 4 kB / 0.5879 GB, free: 0.5508 MB / 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 0.0001157/0.2361, allocations: 117.7 kB / 0.588 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.2361, allocations: 3.906 kB / 0.588 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003573/0.2365, allocations: 80.77 kB / 0.5881 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.2365, allocations: 0 / 0.5881 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2365, allocations: 7.938 kB / 0.5881 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2366, allocations: 0 / 0.5881 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.2368, allocations: 165.6 kB / 0.5882 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2369, allocations: 0 / 0.5882 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.429e-05/0.237, allocations: 12.22 kB / 0.5882 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.237, allocations: 0 / 0.5882 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.237, allocations: 0 / 0.5882 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.237, allocations: 8 kB / 0.5882 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.237, allocations: 0 / 0.5882 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003753/0.2374, allocations: 171.4 kB / 0.5884 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/0.2375, allocations: 77.11 kB / 0.5885 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.2375, allocations: 0 / 0.5885 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.2377, allocations: 11.98 kB / 0.5885 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.2377, allocations: 8 kB / 0.5885 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.2377, allocations: 0 / 0.5885 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.595e-05/0.2378, allocations: 83.27 kB / 0.5886 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2378, allocations: 3.938 kB / 0.5886 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003953/0.2382, allocations: 4 kB / 0.5886 GB, free: 15.71 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 (3): * Single equations (assignments): 3 * 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.0001521/0.2384, allocations: 99.19 kB / 0.5887 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003742/0.2388, allocations: 47.95 kB / 0.5887 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2388, allocations: 0 / 0.5887 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.2389, allocations: 15.98 kB / 0.5887 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.2394, allocations: 10.12 kB / 0.5887 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004174/0.2398, allocations: 132.2 kB / 0.5889 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006738/0.2405, allocations: 0.6771 MB / 0.5895 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.505e-05/0.2405, allocations: 8 kB / 0.5895 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.2406, allocations: 7.438 kB / 0.5895 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.2406, allocations: 0 / 0.5895 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.003753/0.2444, allocations: 433.1 kB / 0.59 GB, free: 14.25 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)