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.001255/0.001255, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00844/0.00844, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.716/1.716, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4191/0.4191, allocations: 55.01 MB / 325.7 MB, free: 0.5273 MB / 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.0006148/0.0006148, allocations: 16 kB / 397.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.48/0.4806, allocations: 60.72 MB / 458 MB, free: 38.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001876/0.4826, allocations: 1.003 MB / 459 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.4839, allocations: 0.624 MB / 459.6 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.409e-05/0.484, allocations: 1.562 kB / 459.6 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.015e-05/0.484, allocations: 0 / 459.6 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.373e-05/0.4841, allocations: 7.656 kB / 459.6 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005751/0.4846, allocations: 91.02 kB / 459.7 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.831e-05/0.4847, allocations: 32.17 kB / 459.8 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.659e-05/0.4848, allocations: 0.9062 kB / 459.8 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.39e-05/0.4848, allocations: 9.641 kB / 459.8 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.971e-05/0.4849, allocations: 14.89 kB / 459.8 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.485, allocations: 0 / 459.8 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004195/0.4854, allocations: 153.4 kB / 459.9 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.18e-05/0.4854, allocations: 7.703 kB / 459.9 MB, free: 38.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.595e-05/0.4855, allocations: 35.28 kB / 460 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.4857, allocations: 93.97 kB / 460.1 MB, free: 38.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4858, allocations: 0 / 460.1 MB, free: 38.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.065e-06/0.4858, allocations: 0.75 kB / 460.1 MB, free: 38.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.4858, allocations: 0 / 460.1 MB, free: 38.34 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.0004802/0.4863, allocations: 351.7 kB / 460.4 MB, free: 37.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.4863, allocations: 11.91 kB / 460.4 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004612/0.4868, allocations: 33.67 kB / 460.5 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.4869, allocations: 164.3 kB / 460.6 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.487, allocations: 8.125 kB / 460.6 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.487, allocations: 3.875 kB / 460.6 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.4872, allocations: 59.31 kB / 460.7 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.4872, allocations: 0 / 460.7 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.4872, allocations: 0 / 460.7 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.4872, allocations: 3.031 kB / 460.7 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.4874, allocations: 35.59 kB / 460.7 MB, free: 37.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.4876, allocations: 164.7 kB / 460.9 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.4879, allocations: 72.69 kB / 461 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.624e-05/0.488, allocations: 24.58 kB / 461 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.4881, allocations: 2.656 kB / 461 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.4881, allocations: 37.75 kB / 461 MB, free: 37.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.4881, allocations: 0 / 461 MB, free: 37.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.003356/0.4915, allocations: 0.5756 MB / 461.6 MB, free: 37.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.4915, allocations: 52.12 kB / 461.6 MB, free: 37.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.672e-05/0.4916, allocations: 93.67 kB / 461.7 MB, free: 37.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.4916, allocations: 26.55 kB / 461.8 MB, free: 37.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.299e-05/0.4916, allocations: 87.08 kB / 461.8 MB, free: 36.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.4917, allocations: 17.62 kB / 461.9 MB, free: 36.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.4917, allocations: 13.62 kB / 461.9 MB, free: 36.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.155e-05/0.4918, allocations: 317.6 kB / 462.2 MB, free: 36.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.4919, allocations: 46.94 kB / 462.2 MB, free: 36.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.4921, allocations: 36.08 kB / 462.3 MB, free: 36.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.4923, allocations: 80.36 kB / 462.3 MB, free: 36.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4924, allocations: 0 / 462.3 MB, free: 36.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003397/0.4927, allocations: 129.5 kB / 462.5 MB, free: 36.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.4927, allocations: 5.531 kB / 462.5 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4927, allocations: 0.9375 kB / 462.5 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.4928, allocations: 3.328 kB / 462.5 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.493, allocations: 29.89 kB / 462.5 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.493, allocations: 0 / 462.5 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.4931, allocations: 9.281 kB / 462.5 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.4932, allocations: 2.938 kB / 462.5 MB, free: 36.55 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 8.33e-05/0.4933, allocations: 109.7 kB / 462.6 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.4933, allocations: 10.97 kB / 462.6 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.879e-05/0.4934, allocations: 11.72 kB / 462.7 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4934, allocations: 3.062 kB / 462.7 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.4934, allocations: 0 / 462.7 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.4934, allocations: 0 / 462.7 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.4935, allocations: 193.5 kB / 462.8 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.4935, allocations: 0 / 462.8 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.4938, allocations: 27.36 kB / 462.9 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4938, allocations: 0 / 462.9 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.4938, allocations: 7 kB / 462.9 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4938, allocations: 0.6875 kB / 462.9 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4938, allocations: 0 / 462.9 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005239/0.4943, allocations: 202.7 kB / 463.1 MB, free: 36.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/0.4944, allocations: 80.53 kB / 463.2 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.4944, allocations: 0 / 463.2 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.4946, allocations: 14.06 kB / 463.2 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.4946, allocations: 3.375 kB / 463.2 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.4946, allocations: 5.469 kB / 463.2 MB, free: 36.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.481e-05/0.4947, allocations: 82.84 kB / 463.3 MB, free: 35.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4947, allocations: 0 / 463.3 MB, free: 35.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.4949, allocations: 31.3 kB / 463.3 MB, free: 35.97 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.0002221/0.4952, allocations: 126.6 kB / 463.4 MB, free: 35.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003467/0.4955, allocations: 95.31 kB / 463.5 MB, free: 35.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4955, allocations: 0 / 463.5 MB, free: 35.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.4957, allocations: 47.92 kB / 463.6 MB, free: 35.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.496, allocations: 11.66 kB / 463.6 MB, free: 35.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006407/0.4966, allocations: 175.7 kB / 463.7 MB, free: 35.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.4968, allocations: 0.6777 MB / 464.4 MB, free: 35.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002271/0.497, allocations: 35.58 kB / 464.4 MB, free: 35.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.198e-05/0.4971, allocations: 20.11 kB / 464.5 MB, free: 35.02 MB / 382.1 MB Notification: Performance of SimCode: time 1.733e-06/0.4971, allocations: 0 / 464.5 MB, free: 35.02 MB / 382.1 MB Notification: Performance of Templates: time 0.004896/0.502, allocations: 1.461 MB / 465.9 MB, free: 34.95 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: