Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.01031/0.01031, allocations: 104.8 kB / 15.74 MB, free: 6.039 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.002098/0.002098, allocations: 195.2 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4214/0.4214, allocations: 54.95 MB / 324.9 MB, free: 16 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 66.8 kB / 456.2 MB, free: 38.39 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1347, allocations: 59.59 MB / 0.5037 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002508/0.1372, allocations: 1.386 MB / 0.505 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004666/0.1377, allocations: 219 kB / 0.5053 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.73e-05/0.1378, allocations: 1.375 kB / 0.5053 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/0.1378, allocations: 0 / 0.5053 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.769e-05/0.1379, allocations: 5.312 kB / 0.5053 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.1381, allocations: 28.02 kB / 0.5053 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.737e-05/0.1382, allocations: 26.92 kB / 0.5053 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1384, allocations: 2.75 kB / 0.5053 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.617e-05/0.1384, allocations: 8.125 kB / 0.5053 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.524e-05/0.1385, allocations: 14.67 kB / 0.5053 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.1385, allocations: 2.75 kB / 0.5053 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.1386, allocations: 23.11 kB / 0.5054 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.1386, allocations: 5.359 kB / 0.5054 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.1387, allocations: 14.67 kB / 0.5054 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.1388, allocations: 37.66 kB / 0.5054 GB, free: 8.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1388, allocations: 0 / 0.5054 GB, free: 8.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1388, allocations: 0 / 0.5054 GB, free: 8.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.1388, allocations: 0 / 0.5054 GB, free: 8.508 MB / 382.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.0004343/0.1393, allocations: 346.4 kB / 0.5057 GB, free: 8.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1393, allocations: 9.625 kB / 0.5058 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.1395, allocations: 3.688 kB / 0.5058 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.001e-05/0.1396, allocations: 169.7 kB / 0.5059 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1396, allocations: 5.75 kB / 0.5059 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.1396, allocations: 5.75 kB / 0.5059 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.1398, allocations: 49.23 kB / 0.506 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1398, allocations: 192 / 0.506 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1398, allocations: 3.938 kB / 0.506 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.1398, allocations: 1.375 kB / 0.506 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.14, allocations: 33.83 kB / 0.506 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002843/0.1403, allocations: 254.5 kB / 0.5063 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.1404, allocations: 38.56 kB / 0.5063 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.892e-05/0.1405, allocations: 22.02 kB / 0.5063 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.1405, allocations: 1.25 kB / 0.5063 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.1406, allocations: 39.88 kB / 0.5064 GB, free: 7.473 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.644e-06/0.1406, allocations: 4 kB / 0.5064 GB, free: 7.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003732/0.141, allocations: 84.05 kB / 0.5064 GB, free: 7.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.141, allocations: 52.31 kB / 0.5065 GB, free: 7.348 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.845e-05/0.1411, allocations: 98.92 kB / 0.5066 GB, free: 7.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.1411, allocations: 29.64 kB / 0.5066 GB, free: 7.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.831e-05/0.1411, allocations: 85.28 kB / 0.5067 GB, free: 7.125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.1411, allocations: 17.44 kB / 0.5067 GB, free: 7.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.1412, allocations: 11.16 kB / 0.5067 GB, free: 7.094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.716e-05/0.1412, allocations: 312.3 kB / 0.507 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.575e-05/0.1413, allocations: 17.05 kB / 0.507 GB, free: 6.773 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.259e-05/0.1414, allocations: 16.94 kB / 0.5071 GB, free: 6.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.1415, allocations: 40.55 kB / 0.5071 GB, free: 6.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1416, allocations: 0 / 0.5071 GB, free: 6.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001917/0.1417, allocations: 76.59 kB / 0.5072 GB, free: 6.684 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1418, allocations: 5.062 kB / 0.5072 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1418, allocations: 0 / 0.5072 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1418, allocations: 1.5 kB / 0.5072 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.102e-05/0.1419, allocations: 9.234 kB / 0.5072 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1419, allocations: 0.875 kB / 0.5072 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.212e-05/0.142, allocations: 8 kB / 0.5072 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.142, allocations: 0 / 0.5072 GB, free: 6.676 MB / 382.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.567e-05/0.142, allocations: 116 kB / 0.5073 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.1421, allocations: 1.438 kB / 0.5073 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.1423, allocations: 76.53 kB / 0.5074 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1423, allocations: 4 kB / 0.5074 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1423, allocations: 1.594 kB / 0.5074 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.1423, allocations: 3.984 kB / 0.5074 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.1425, allocations: 170.3 kB / 0.5075 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1425, allocations: 0 / 0.5075 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.775e-05/0.1426, allocations: 11.36 kB / 0.5076 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1426, allocations: 0.9688 kB / 0.5076 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1426, allocations: 240 / 0.5076 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.1426, allocations: 0.9062 kB / 0.5076 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1426, allocations: 0 / 0.5076 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.1428, allocations: 173.3 kB / 0.5077 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.788e-05/0.1428, allocations: 78.48 kB / 0.5078 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.1429, allocations: 5.547 kB / 0.5078 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.983e-05/0.1429, allocations: 11.25 kB / 0.5078 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.143, allocations: 5.297 kB / 0.5078 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.143, allocations: 1.812 kB / 0.5078 GB, free: 6.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.285e-05/0.143, allocations: 85.28 kB / 0.5079 GB, free: 5.922 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.143, allocations: 1.562 kB / 0.5079 GB, free: 5.922 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000223/0.1433, allocations: 3.344 kB / 0.5079 GB, free: 5.922 MB / 382.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 9.019e-05/0.1434, allocations: 95.19 kB / 0.508 GB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002222/0.1436, allocations: 37.98 kB / 0.508 GB, free: 5.816 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1436, allocations: 0 / 0.508 GB, free: 5.816 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.874e-05/0.1437, allocations: 29.45 kB / 0.5081 GB, free: 5.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.144, allocations: 10.22 kB / 0.5081 GB, free: 5.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.1444, allocations: 131.5 kB / 0.5082 GB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.1445, allocations: 0.6734 MB / 0.5089 GB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.047e-05/0.1445, allocations: 9.391 kB / 0.5089 GB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.1445, allocations: 9.688 kB / 0.5089 GB, free: 4.949 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1445, allocations: 0 / 0.5089 GB, free: 4.949 MB / 382.1 MB Notification: Performance of Templates: time 0.00277/0.1473, allocations: 0.4928 MB / 0.5094 GB, free: 4.695 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)