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.001183/0.001183, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001096/0.001096, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.643/1.643, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4117/0.4117, allocations: 54.93 MB / 324.3 MB, free: 112 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.00135/0.00135, allocations: 63.91 kB / 394.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1563, allocations: 59.59 MB / 454.3 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.2672/0.4236, allocations: 1.33 MB / 455.6 MB, free: 39.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009715/0.4246, allocations: 0.6356 MB / 456.3 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.479e-05/0.4247, allocations: 0 / 456.3 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.4247, allocations: 0.6562 kB / 456.3 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.774e-05/0.4248, allocations: 2.062 kB / 456.3 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.4252, allocations: 94.14 kB / 456.3 MB, free: 38.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.364e-05/0.4252, allocations: 28.59 kB / 456.4 MB, free: 38.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.613e-05/0.4253, allocations: 3.531 kB / 456.4 MB, free: 38.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.605e-05/0.4253, allocations: 10.88 kB / 456.4 MB, free: 38.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.726e-05/0.4254, allocations: 19.67 kB / 456.4 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.4254, allocations: 1.031 kB / 456.4 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002567/0.4257, allocations: 147.4 kB / 456.6 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.4257, allocations: 14.27 kB / 456.6 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.4257, allocations: 6.906 kB / 456.6 MB, free: 38.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.4259, allocations: 91.28 kB / 456.7 MB, free: 38.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4259, allocations: 7.219 kB / 456.7 MB, free: 38.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.4259, allocations: 0.9062 kB / 456.7 MB, free: 38.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.4259, allocations: 0 / 456.7 MB, free: 38.8 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.0004382/0.4264, allocations: 358.1 kB / 457 MB, free: 38.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.4264, allocations: 10.44 kB / 457 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004314/0.4269, allocations: 27 kB / 457.1 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.922e-05/0.427, allocations: 173.3 kB / 457.2 MB, free: 38.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.427, allocations: 384 / 457.2 MB, free: 38.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.427, allocations: 4.5 kB / 457.2 MB, free: 38.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.4272, allocations: 63.95 kB / 457.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.4272, allocations: 2.281 kB / 457.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.4272, allocations: 0 / 457.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4272, allocations: 3.906 kB / 457.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.4274, allocations: 24.78 kB / 457.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.4275, allocations: 165.8 kB / 457.5 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.4279, allocations: 69.69 kB / 457.6 MB, free: 37.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.689e-05/0.428, allocations: 30.12 kB / 457.6 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.428, allocations: 0 / 457.6 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.428, allocations: 35.44 kB / 457.6 MB, free: 37.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.428, allocations: 0 / 457.6 MB, free: 37.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.003473/0.4315, allocations: 0.5751 MB / 458.2 MB, free: 37.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.4315, allocations: 52.25 kB / 458.2 MB, free: 37.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.946e-05/0.4316, allocations: 96.23 kB / 458.3 MB, free: 37.53 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.4316, allocations: 26.8 kB / 458.4 MB, free: 37.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.135e-05/0.4316, allocations: 84.02 kB / 458.4 MB, free: 37.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.4317, allocations: 19.09 kB / 458.5 MB, free: 37.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/0.4317, allocations: 29.77 kB / 458.5 MB, free: 37.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.543e-05/0.4318, allocations: 317.7 kB / 458.8 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.4319, allocations: 36.62 kB / 458.8 MB, free: 37.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.4321, allocations: 44.53 kB / 458.9 MB, free: 37.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.4323, allocations: 80.61 kB / 459 MB, free: 37.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.4323, allocations: 0 / 459 MB, free: 37.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003185/0.4327, allocations: 130.2 kB / 459.1 MB, free: 37.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.4327, allocations: 2.688 kB / 459.1 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.4327, allocations: 2.625 kB / 459.1 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.4327, allocations: 3.938 kB / 459.1 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.4329, allocations: 22.41 kB / 459.1 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.433, allocations: 3.438 kB / 459.1 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.4331, allocations: 12.8 kB / 459.1 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.4332, allocations: 0 / 459.1 MB, free: 37.02 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 7.495e-05/0.4332, allocations: 116.6 kB / 459.2 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.4333, allocations: 6.844 kB / 459.3 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.95e-05/0.4333, allocations: 13.28 kB / 459.3 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.4333, allocations: 5.062 kB / 459.3 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.4334, allocations: 0 / 459.3 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4334, allocations: 0.6562 kB / 459.3 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.4335, allocations: 184.1 kB / 459.5 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.4335, allocations: 0 / 459.5 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.4337, allocations: 24.33 kB / 459.5 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4337, allocations: 2.562 kB / 459.5 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.4338, allocations: 9.125 kB / 459.5 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4338, allocations: 2.359 kB / 459.5 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4338, allocations: 1.594 kB / 459.5 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005048/0.4343, allocations: 198.7 kB / 459.7 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.448e-05/0.4343, allocations: 80.25 kB / 459.8 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.4343, allocations: 4.062 kB / 459.8 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.4345, allocations: 11.45 kB / 459.8 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.4346, allocations: 2.875 kB / 459.8 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.4346, allocations: 3.188 kB / 459.8 MB, free: 36.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.702e-05/0.4346, allocations: 83.62 kB / 459.9 MB, free: 36.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4346, allocations: 0 / 459.9 MB, free: 36.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.4349, allocations: 29.78 kB / 459.9 MB, free: 36.46 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.0002177/0.4351, allocations: 140.7 kB / 460 MB, free: 36.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000349/0.4355, allocations: 89.12 kB / 460.1 MB, free: 36.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4355, allocations: 0 / 460.1 MB, free: 36.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.4356, allocations: 49.22 kB / 460.2 MB, free: 36.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.436, allocations: 13.62 kB / 460.2 MB, free: 36.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006669/0.4366, allocations: 166.3 kB / 460.3 MB, free: 36.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.4368, allocations: 0.6821 MB / 461 MB, free: 35.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002262/0.437, allocations: 35.53 kB / 461.1 MB, free: 35.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.567e-05/0.4371, allocations: 23.69 kB / 461.1 MB, free: 35.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4371, allocations: 0 / 461.1 MB, free: 35.5 MB / 382.1 MB Notification: Performance of Templates: time 0.003926/0.441, allocations: 1.462 MB / 462.5 MB, free: 35.44 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)