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.00152/0.00152, allocations: 104.5 kB / 16.27 MB, free: 6.414 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.001262/0.001262, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.371/1.371, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8098/0.8098, allocations: 135.1 MB / 426.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 67.89 kB / 0.506 GB, free: 8.426 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3407, allocations: 80.91 MB / 0.585 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002195/0.343, allocations: 1.397 MB / 0.5864 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003797/0.3434, allocations: 213.3 kB / 0.5866 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.3434, allocations: 1.531 kB / 0.5866 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.401e-05/0.3434, allocations: 0.6562 kB / 0.5866 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.899e-05/0.3435, allocations: 4.656 kB / 0.5866 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.3437, allocations: 24.97 kB / 0.5866 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.474e-05/0.3437, allocations: 24.23 kB / 0.5866 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.631e-05/0.3438, allocations: 7.344 kB / 0.5866 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.582e-05/0.3439, allocations: 7.359 kB / 0.5866 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.386e-05/0.3439, allocations: 17.8 kB / 0.5867 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.3439, allocations: 2.781 kB / 0.5867 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.468e-05/0.344, allocations: 26.8 kB / 0.5867 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.344, allocations: 5.109 kB / 0.5867 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.3441, allocations: 10.91 kB / 0.5867 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.3442, allocations: 38.89 kB / 0.5867 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3442, allocations: 2.156 kB / 0.5867 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3442, allocations: 0 / 0.5867 GB, free: 23.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.3442, allocations: 1.938 kB / 0.5867 GB, free: 23.89 MB / 446.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.000334/0.3445, allocations: 342.5 kB / 0.5871 GB, free: 23.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.3446, allocations: 9.828 kB / 0.5871 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.3447, allocations: 5.469 kB / 0.5871 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.014e-05/0.3448, allocations: 169.4 kB / 0.5872 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.3448, allocations: 1.781 kB / 0.5872 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.3448, allocations: 5.344 kB / 0.5872 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.345, allocations: 50.23 kB / 0.5873 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.345, allocations: 1.344 kB / 0.5873 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.345, allocations: 5.688 kB / 0.5873 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.345, allocations: 0 / 0.5873 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.3452, allocations: 35.02 kB / 0.5873 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002437/0.3454, allocations: 247.3 kB / 0.5876 GB, free: 22.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.3456, allocations: 48.59 kB / 0.5876 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.835e-05/0.3457, allocations: 23.25 kB / 0.5876 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.3457, allocations: 5.141 kB / 0.5876 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.292e-05/0.3457, allocations: 32.22 kB / 0.5877 GB, free: 22.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3457, allocations: 0 / 0.5877 GB, free: 22.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003302/0.346, allocations: 86.67 kB / 0.5878 GB, free: 22.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/0.3461, allocations: 54.59 kB / 0.5878 GB, free: 22.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.562e-05/0.3461, allocations: 97.41 kB / 0.5879 GB, free: 22.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.843e-06/0.3461, allocations: 26.95 kB / 0.5879 GB, free: 22.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.19e-05/0.3462, allocations: 87.33 kB / 0.588 GB, free: 22.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.3462, allocations: 11.83 kB / 0.588 GB, free: 22.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.3462, allocations: 12.09 kB / 0.588 GB, free: 22.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.3463, allocations: 321.4 kB / 0.5883 GB, free: 22.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.396e-05/0.3463, allocations: 13.52 kB / 0.5884 GB, free: 22.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.358e-05/0.3464, allocations: 18.02 kB / 0.5884 GB, free: 22.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.3466, allocations: 42.56 kB / 0.5884 GB, free: 22.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3466, allocations: 0 / 0.5884 GB, free: 22.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001826/0.3468, allocations: 68.77 kB / 0.5885 GB, free: 22.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.3468, allocations: 6.5 kB / 0.5885 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3468, allocations: 0 / 0.5885 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3468, allocations: 0 / 0.5885 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.605e-05/0.3469, allocations: 10.77 kB / 0.5885 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.3469, allocations: 1.094 kB / 0.5885 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.357e-05/0.347, allocations: 13.23 kB / 0.5885 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.347, allocations: 1.469 kB / 0.5885 GB, free: 22.08 MB / 446.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 4.337e-05/0.347, allocations: 116.9 kB / 0.5886 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.3471, allocations: 5.125 kB / 0.5886 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.3473, allocations: 77.89 kB / 0.5887 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3473, allocations: 0 / 0.5887 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3473, allocations: 5.438 kB / 0.5887 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3473, allocations: 0.7812 kB / 0.5887 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.3474, allocations: 158.5 kB / 0.5889 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3475, allocations: 1.031 kB / 0.5889 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.939e-05/0.3475, allocations: 15.52 kB / 0.5889 GB, free: 21.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3475, allocations: 1.531 kB / 0.5889 GB, free: 21.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.3476, allocations: 0.6562 kB / 0.5889 GB, free: 21.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3476, allocations: 0.5625 kB / 0.5889 GB, free: 21.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3476, allocations: 0.625 kB / 0.5889 GB, free: 21.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.3478, allocations: 172.8 kB / 0.589 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.399e-05/0.3478, allocations: 78.48 kB / 0.5891 GB, free: 21.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.3478, allocations: 4 kB / 0.5891 GB, free: 21.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.353e-05/0.3479, allocations: 8.734 kB / 0.5891 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.3479, allocations: 5.469 kB / 0.5891 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.348, allocations: 1.781 kB / 0.5891 GB, free: 21.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.991e-05/0.348, allocations: 79.44 kB / 0.5892 GB, free: 21.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.31e-07/0.348, allocations: 3.938 kB / 0.5892 GB, free: 21.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.3482, allocations: 9.094 kB / 0.5892 GB, free: 21.35 MB / 446.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 (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 7.176e-05/0.3483, allocations: 102.3 kB / 0.5893 GB, free: 21.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000214/0.3485, allocations: 39.48 kB / 0.5894 GB, free: 21.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3485, allocations: 1.062 kB / 0.5894 GB, free: 21.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.718e-05/0.3486, allocations: 20.84 kB / 0.5894 GB, free: 21.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.3489, allocations: 16.14 kB / 0.5894 GB, free: 21.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.3492, allocations: 147.6 kB / 0.5895 GB, free: 21.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.573e-05/0.3493, allocations: 0.6776 MB / 0.5902 GB, free: 20.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.736e-05/0.3493, allocations: 8.688 kB / 0.5902 GB, free: 20.37 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3493, allocations: 0 / 0.5902 GB, free: 20.37 MB / 446.1 MB Notification: Performance of Templates: time 0.00163/0.3509, allocations: 0.582 MB / 0.5908 GB, free: 20.1 MB / 446.1 MB 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)