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.006039/0.006039, allocations: 97.77 kB / 15.73 MB, free: 5.602 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.001233/0.001233, allocations: 192.4 kB / 16.68 MB, free: 5.523 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.561/1.561, allocations: 205.1 MB / 222.6 MB, free: 4.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3925/0.3925, allocations: 54.94 MB / 324.8 MB, free: 144 kB / 254.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.001412/0.001412, allocations: 72.64 kB / 456.3 MB, free: 38.32 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1385, allocations: 59.59 MB / 0.5038 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002772/0.1414, allocations: 1.396 MB / 0.5051 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004149/0.1418, allocations: 200.2 kB / 0.5053 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.413e-05/0.1418, allocations: 1.688 kB / 0.5053 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.793e-05/0.1419, allocations: 0 / 0.5053 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.327e-05/0.1419, allocations: 11.92 kB / 0.5053 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.1422, allocations: 22.5 kB / 0.5054 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.563e-05/0.1422, allocations: 28.98 kB / 0.5054 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1424, allocations: 7.922 kB / 0.5054 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.443e-05/0.1424, allocations: 7.031 kB / 0.5054 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.437e-05/0.1425, allocations: 16.3 kB / 0.5054 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.1425, allocations: 5.5 kB / 0.5054 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.76e-05/0.1426, allocations: 27.52 kB / 0.5054 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.1426, allocations: 5.359 kB / 0.5054 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.1426, allocations: 14.78 kB / 0.5055 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.1428, allocations: 36.98 kB / 0.5055 GB, free: 8.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1428, allocations: 0 / 0.5055 GB, free: 8.332 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1428, allocations: 3.938 kB / 0.5055 GB, free: 8.328 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1428, allocations: 0 / 0.5055 GB, free: 8.328 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.0005095/0.1433, allocations: 343.1 kB / 0.5058 GB, free: 7.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.1434, allocations: 9.219 kB / 0.5058 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.1436, allocations: 3.844 kB / 0.5058 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.1437, allocations: 169.5 kB / 0.506 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.1437, allocations: 5.625 kB / 0.506 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.1437, allocations: 1.906 kB / 0.506 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.144, allocations: 52.72 kB / 0.5061 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.144, allocations: 192 / 0.5061 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.144, allocations: 5.406 kB / 0.5061 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.144, allocations: 0 / 0.5061 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.1443, allocations: 38.42 kB / 0.5061 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.1447, allocations: 253.5 kB / 0.5063 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.1448, allocations: 39.75 kB / 0.5064 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.075e-05/0.1449, allocations: 25.98 kB / 0.5064 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.145, allocations: 0 / 0.5064 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.145, allocations: 39.88 kB / 0.5064 GB, free: 7.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.145, allocations: 3.938 kB / 0.5064 GB, free: 7.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003884/0.1454, allocations: 77.11 kB / 0.5065 GB, free: 7.234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.1454, allocations: 55.41 kB / 0.5066 GB, free: 7.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.449e-05/0.1455, allocations: 95.36 kB / 0.5067 GB, free: 7.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.1455, allocations: 25.7 kB / 0.5067 GB, free: 7.039 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.1455, allocations: 93.62 kB / 0.5068 GB, free: 6.945 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.1456, allocations: 5.328 kB / 0.5068 GB, free: 6.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.1456, allocations: 12.47 kB / 0.5068 GB, free: 6.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.65e-05/0.1456, allocations: 314.8 kB / 0.5071 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.451e-05/0.1457, allocations: 13.61 kB / 0.5071 GB, free: 6.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.485e-05/0.1458, allocations: 21.59 kB / 0.5071 GB, free: 6.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.1459, allocations: 44.08 kB / 0.5072 GB, free: 6.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.146, allocations: 0 / 0.5072 GB, free: 6.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001678/0.1461, allocations: 71.55 kB / 0.5072 GB, free: 6.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1461, allocations: 5.5 kB / 0.5072 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1462, allocations: 0 / 0.5072 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1462, allocations: 5.312 kB / 0.5072 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.811e-05/0.1463, allocations: 9.484 kB / 0.5073 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1463, allocations: 5.406 kB / 0.5073 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.543e-05/0.1463, allocations: 2.75 kB / 0.5073 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.1463, allocations: 1.375 kB / 0.5073 GB, free: 6.5 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.398e-05/0.1464, allocations: 115.1 kB / 0.5074 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.1464, allocations: 5.375 kB / 0.5074 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.1466, allocations: 80.09 kB / 0.5075 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1466, allocations: 1.375 kB / 0.5075 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1466, allocations: 0 / 0.5075 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.1467, allocations: 3.984 kB / 0.5075 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.1468, allocations: 159.1 kB / 0.5076 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1468, allocations: 1.375 kB / 0.5076 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.171e-05/0.1468, allocations: 10.86 kB / 0.5076 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1469, allocations: 0 / 0.5076 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.1469, allocations: 1.375 kB / 0.5076 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1469, allocations: 0 / 0.5076 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1469, allocations: 4 kB / 0.5076 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.1471, allocations: 173.5 kB / 0.5078 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.1471, allocations: 78.77 kB / 0.5079 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.1471, allocations: 3.984 kB / 0.5079 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.406e-05/0.1472, allocations: 8.062 kB / 0.5079 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.1472, allocations: 9.344 kB / 0.5079 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.1472, allocations: 5.375 kB / 0.5079 GB, free: 5.828 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.41e-05/0.1473, allocations: 82.03 kB / 0.508 GB, free: 5.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1473, allocations: 1.375 kB / 0.508 GB, free: 5.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002222/0.1475, allocations: 4.125 kB / 0.508 GB, free: 5.75 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 7.902e-05/0.1476, allocations: 94.38 kB / 0.5081 GB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.1478, allocations: 37.95 kB / 0.5081 GB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1478, allocations: 5.438 kB / 0.5081 GB, free: 5.641 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.067e-05/0.1479, allocations: 24.3 kB / 0.5081 GB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.1482, allocations: 5.312 kB / 0.5081 GB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002626/0.1484, allocations: 131.2 kB / 0.5083 GB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.1485, allocations: 0.673 MB / 0.5089 GB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.717e-05/0.1486, allocations: 9.359 kB / 0.5089 GB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.1486, allocations: 12.75 kB / 0.5089 GB, free: 4.777 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1486, allocations: 0 / 0.5089 GB, free: 4.777 MB / 382.1 MB Notification: Performance of Templates: time 0.00235/0.151, allocations: 0.4961 MB / 0.5094 GB, free: 4.52 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)