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.001238/0.001239, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00163/0.00163, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.586/1.586, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4233/0.4233, allocations: 54.92 MB / 324.4 MB, free: 15.96 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.001336/0.001336, allocations: 67.91 kB / 394.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1447, allocations: 59.59 MB / 454.4 MB, free: 480 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.2244/0.3691, allocations: 1.335 MB / 455.8 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008539/0.37, allocations: 0.6186 MB / 456.4 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.497e-05/0.37, allocations: 0 / 456.4 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.718e-05/0.3701, allocations: 2.906 kB / 456.4 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.449e-05/0.3702, allocations: 10.11 kB / 456.4 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003812/0.3705, allocations: 93.42 kB / 456.5 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.6e-05/0.3706, allocations: 26.38 kB / 456.5 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.895e-05/0.3706, allocations: 5.75 kB / 456.5 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.165e-05/0.3707, allocations: 8.891 kB / 456.5 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.34e-05/0.3707, allocations: 11.23 kB / 456.5 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.3708, allocations: 2.688 kB / 456.5 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/0.371, allocations: 153.5 kB / 456.7 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.371, allocations: 4.312 kB / 456.7 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.371, allocations: 17.09 kB / 456.7 MB, free: 38.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.3712, allocations: 98.44 kB / 456.8 MB, free: 38.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3712, allocations: 3.656 kB / 456.8 MB, free: 38.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3712, allocations: 2.5 kB / 456.8 MB, free: 38.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.3712, allocations: 0.5938 kB / 456.8 MB, free: 38.73 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.0003647/0.3716, allocations: 352.7 kB / 457.2 MB, free: 38.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3716, allocations: 11 kB / 457.2 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000432/0.3721, allocations: 29.98 kB / 457.2 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.798e-05/0.3722, allocations: 168.1 kB / 457.4 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.3722, allocations: 5.281 kB / 457.4 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.3722, allocations: 8.125 kB / 457.4 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.3724, allocations: 58.55 kB / 457.4 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3724, allocations: 0 / 457.4 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3724, allocations: 0 / 457.4 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.3724, allocations: 0 / 457.4 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.3725, allocations: 30.38 kB / 457.5 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001301/0.3727, allocations: 165 kB / 457.6 MB, free: 37.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.373, allocations: 66.2 kB / 457.7 MB, free: 37.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.233e-05/0.3731, allocations: 28.66 kB / 457.7 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.3731, allocations: 5.312 kB / 457.7 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.3731, allocations: 36 kB / 457.8 MB, free: 37.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3731, allocations: 0 / 457.8 MB, free: 37.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.003433/0.3765, allocations: 0.5739 MB / 458.3 MB, free: 37.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.3766, allocations: 51.41 kB / 458.4 MB, free: 37.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.725e-05/0.3766, allocations: 92.86 kB / 458.5 MB, free: 37.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.3767, allocations: 30.45 kB / 458.5 MB, free: 37.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.548e-05/0.3767, allocations: 86.84 kB / 458.6 MB, free: 37.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.3767, allocations: 19.59 kB / 458.6 MB, free: 37.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.3768, allocations: 30.09 kB / 458.6 MB, free: 37.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.548e-05/0.3768, allocations: 312.1 kB / 458.9 MB, free: 37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.377, allocations: 41.86 kB / 459 MB, free: 37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.3771, allocations: 34.38 kB / 459 MB, free: 37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.3773, allocations: 81.84 kB / 459.1 MB, free: 36.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3773, allocations: 1.781 kB / 459.1 MB, free: 36.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003008/0.3776, allocations: 127.1 kB / 459.2 MB, free: 36.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3777, allocations: 5.719 kB / 459.2 MB, free: 36.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3777, allocations: 0 / 459.2 MB, free: 36.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3777, allocations: 3.938 kB / 459.2 MB, free: 36.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.3779, allocations: 26.17 kB / 459.3 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3779, allocations: 1.016 kB / 459.3 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.3781, allocations: 10 kB / 459.3 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.3781, allocations: 6.25 kB / 459.3 MB, free: 36.95 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 5.67e-05/0.3782, allocations: 111.1 kB / 459.4 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.3782, allocations: 9.547 kB / 459.4 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.292e-05/0.3783, allocations: 12.41 kB / 459.4 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3783, allocations: 2.641 kB / 459.4 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3783, allocations: 0 / 459.4 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.3783, allocations: 0 / 459.4 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.3784, allocations: 190.7 kB / 459.6 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3784, allocations: 3.828 kB / 459.6 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.3786, allocations: 23.53 kB / 459.6 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3786, allocations: 0 / 459.6 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.3787, allocations: 10.55 kB / 459.6 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3787, allocations: 4 kB / 459.6 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3787, allocations: 0 / 459.6 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004552/0.3791, allocations: 196 kB / 459.8 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/0.3792, allocations: 79.14 kB / 459.9 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.3792, allocations: 9.875 kB / 459.9 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.3794, allocations: 6.844 kB / 459.9 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.3794, allocations: 6.047 kB / 459.9 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.3795, allocations: 8.75 kB / 459.9 MB, free: 36.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.766e-05/0.3795, allocations: 75.28 kB / 460 MB, free: 36.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3795, allocations: 7 kB / 460 MB, free: 36.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002242/0.3797, allocations: 29.94 kB / 460 MB, free: 36.39 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.0001821/0.3799, allocations: 129.3 kB / 460.2 MB, free: 36.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003122/0.3802, allocations: 87.69 kB / 460.3 MB, free: 36.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3802, allocations: 4 kB / 460.3 MB, free: 36.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.3804, allocations: 46.78 kB / 460.3 MB, free: 36.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.3807, allocations: 12.78 kB / 460.3 MB, free: 36.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006812/0.3813, allocations: 173.1 kB / 460.5 MB, free: 36.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.3815, allocations: 0.6879 MB / 461.2 MB, free: 35.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002232/0.3817, allocations: 30.81 kB / 461.2 MB, free: 35.44 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.252e-05/0.3818, allocations: 20.52 kB / 461.2 MB, free: 35.43 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3818, allocations: 2.688 kB / 461.2 MB, free: 35.43 MB / 382.1 MB Notification: Performance of Templates: time 0.003606/0.3854, allocations: 1.503 MB / 462.7 MB, free: 35.36 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)