Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008552/0.008552, allocations: 100.8 kB / 15.73 MB, free: 5.98 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.001457/0.001457, allocations: 201.6 kB / 16.68 MB, free: 5.906 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.44/1.44, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.399/0.399, allocations: 54.94 MB / 324.8 MB, free: 15.94 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.001468/0.001468, allocations: 70.56 kB / 456.2 MB, free: 38.02 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.124, allocations: 59.59 MB / 0.5037 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001967/0.126, allocations: 1.262 MB / 0.505 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008282/0.1269, allocations: 0.6296 MB / 0.5056 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.753e-05/0.1269, allocations: 0 / 0.5056 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.1269, allocations: 3.984 kB / 0.5056 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.698e-05/0.127, allocations: 5.375 kB / 0.5056 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004235/0.1274, allocations: 111.1 kB / 0.5057 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.739e-05/0.1275, allocations: 23.3 kB / 0.5057 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/0.1275, allocations: 2.594 kB / 0.5057 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.794e-05/0.1276, allocations: 5.781 kB / 0.5057 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.552e-05/0.1277, allocations: 19.98 kB / 0.5058 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.1277, allocations: 1.312 kB / 0.5058 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.1279, allocations: 147.4 kB / 0.5059 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.128, allocations: 1.406 kB / 0.5059 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.787e-05/0.128, allocations: 19.97 kB / 0.5059 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.1282, allocations: 99.86 kB / 0.506 GB, free: 7.812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1282, allocations: 0 / 0.506 GB, free: 7.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1282, allocations: 1.375 kB / 0.506 GB, free: 7.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1282, allocations: 0 / 0.506 GB, free: 7.812 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00043/0.1287, allocations: 353.3 kB / 0.5063 GB, free: 7.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1287, allocations: 9.625 kB / 0.5064 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004056/0.1291, allocations: 29.31 kB / 0.5064 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.781e-05/0.1292, allocations: 161.8 kB / 0.5065 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1292, allocations: 4.359 kB / 0.5065 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.1293, allocations: 3.125 kB / 0.5065 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.1294, allocations: 68.72 kB / 0.5066 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.1294, allocations: 0 / 0.5066 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1295, allocations: 5.312 kB / 0.5066 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.1295, allocations: 0 / 0.5066 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.1296, allocations: 31.09 kB / 0.5066 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.1297, allocations: 159.2 kB / 0.5068 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.1301, allocations: 67.45 kB / 0.5069 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.666e-05/0.1301, allocations: 25.31 kB / 0.5069 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.1302, allocations: 0 / 0.5069 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.1302, allocations: 47.8 kB / 0.5069 GB, free: 6.828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.1302, allocations: 4 kB / 0.5069 GB, free: 6.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.003203/0.1334, allocations: 0.5634 MB / 0.5075 GB, free: 6.395 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.1334, allocations: 51.41 kB / 0.5075 GB, free: 6.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.617e-05/0.1335, allocations: 96.61 kB / 0.5076 GB, free: 6.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1335, allocations: 31.08 kB / 0.5077 GB, free: 6.195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.768e-05/0.1335, allocations: 84.12 kB / 0.5077 GB, free: 6.109 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.1336, allocations: 18.41 kB / 0.5078 GB, free: 6.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.1336, allocations: 24.58 kB / 0.5078 GB, free: 6.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.143e-05/0.1337, allocations: 324.1 kB / 0.5081 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.1338, allocations: 37.97 kB / 0.5081 GB, free: 5.727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.134, allocations: 39.22 kB / 0.5082 GB, free: 5.707 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.1342, allocations: 81.84 kB / 0.5082 GB, free: 5.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1342, allocations: 1.344 kB / 0.5082 GB, free: 5.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003295/0.1346, allocations: 129.3 kB / 0.5084 GB, free: 5.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1346, allocations: 5.469 kB / 0.5084 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.1346, allocations: 0 / 0.5084 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1346, allocations: 0 / 0.5084 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.1349, allocations: 22.31 kB / 0.5084 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1349, allocations: 1 kB / 0.5084 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.135, allocations: 11.86 kB / 0.5084 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.1351, allocations: 2.531 kB / 0.5084 GB, free: 5.559 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 (7): * Single equations (assignments): 7 * 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 6.215e-05/0.1351, allocations: 116.3 kB / 0.5085 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.1352, allocations: 17.41 kB / 0.5085 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.198e-05/0.1352, allocations: 13.28 kB / 0.5085 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1352, allocations: 5.141 kB / 0.5086 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1352, allocations: 1.125 kB / 0.5086 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1352, allocations: 0 / 0.5086 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.1354, allocations: 194 kB / 0.5087 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1354, allocations: 1.219 kB / 0.5087 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.1356, allocations: 21.84 kB / 0.5088 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1356, allocations: 1.375 kB / 0.5088 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.1356, allocations: 13.45 kB / 0.5088 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1357, allocations: 0 / 0.5088 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1357, allocations: 0 / 0.5088 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004991/0.1362, allocations: 199 kB / 0.509 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/0.1362, allocations: 81.02 kB / 0.509 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.1362, allocations: 1.438 kB / 0.509 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.1364, allocations: 11.23 kB / 0.5091 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.1364, allocations: 2.188 kB / 0.5091 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.1365, allocations: 6.203 kB / 0.5091 GB, free: 4.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.085e-05/0.1365, allocations: 85.16 kB / 0.5091 GB, free: 4.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.12e-07/0.1365, allocations: 0 / 0.5091 GB, free: 4.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.1368, allocations: 35.61 kB / 0.5092 GB, free: 4.809 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0002294/0.137, allocations: 131.6 kB / 0.5093 GB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003553/0.1374, allocations: 88.8 kB / 0.5094 GB, free: 4.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1374, allocations: 0 / 0.5094 GB, free: 4.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.1375, allocations: 51.92 kB / 0.5094 GB, free: 4.633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.1378, allocations: 8.375 kB / 0.5094 GB, free: 4.629 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006283/0.1384, allocations: 165.8 kB / 0.5096 GB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.1386, allocations: 0.6783 MB / 0.5103 GB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000154/0.1387, allocations: 36.3 kB / 0.5103 GB, free: 3.758 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.088e-05/0.1388, allocations: 15.61 kB / 0.5103 GB, free: 3.746 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1388, allocations: 0 / 0.5103 GB, free: 3.746 MB / 382.1 MB Notification: Performance of Templates: time 0.003334/0.1422, allocations: 1.504 MB / 0.5118 GB, free: 2.332 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)