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.001079/0.001079, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 194.9 kB / 16.53 MB, free: 6.691 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.617/1.617, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4293/0.4293, allocations: 54.93 MB / 324.7 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.001742/0.001742, allocations: 68.36 kB / 395.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1504, allocations: 59.59 MB / 454.9 MB, free: 160 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.2741/0.4246, allocations: 1.271 MB / 456.2 MB, free: 39.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009666/0.4256, allocations: 0.6197 MB / 456.8 MB, free: 39.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/0.4256, allocations: 4.234 kB / 456.8 MB, free: 39.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.78e-05/0.4257, allocations: 0 / 456.8 MB, free: 39.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.11e-05/0.4257, allocations: 8.672 kB / 456.8 MB, free: 39.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.4262, allocations: 108.5 kB / 456.9 MB, free: 39.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.808e-05/0.4263, allocations: 28.28 kB / 457 MB, free: 39.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.4263, allocations: 2.812 kB / 457 MB, free: 39.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.705e-05/0.4264, allocations: 12.92 kB / 457 MB, free: 39.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.617e-05/0.4264, allocations: 10.22 kB / 457 MB, free: 39.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.4265, allocations: 2.906 kB / 457 MB, free: 39.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002869/0.4267, allocations: 149.4 kB / 457.1 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.4268, allocations: 1.75 kB / 457.1 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.4268, allocations: 16.28 kB / 457.2 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.427, allocations: 93.52 kB / 457.3 MB, free: 39.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4271, allocations: 0 / 457.3 MB, free: 39.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4271, allocations: 1.5 kB / 457.3 MB, free: 39.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.4271, allocations: 0.9688 kB / 457.3 MB, free: 39.04 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.0005329/0.4276, allocations: 355.6 kB / 457.6 MB, free: 38.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.4277, allocations: 9.031 kB / 457.6 MB, free: 38.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004177/0.4281, allocations: 30.09 kB / 457.6 MB, free: 38.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.297e-05/0.4282, allocations: 171.3 kB / 457.8 MB, free: 38.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.4282, allocations: 6.656 kB / 457.8 MB, free: 38.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.4282, allocations: 384 / 457.8 MB, free: 38.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.4284, allocations: 58.81 kB / 457.9 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.4284, allocations: 0 / 457.9 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.4285, allocations: 4.125 kB / 457.9 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4285, allocations: 0 / 457.9 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.4286, allocations: 35.33 kB / 457.9 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.4288, allocations: 156.7 kB / 458.1 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.4291, allocations: 74.02 kB / 458.1 MB, free: 38.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.781e-05/0.4292, allocations: 28.84 kB / 458.2 MB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.4292, allocations: 5.031 kB / 458.2 MB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.4292, allocations: 37.53 kB / 458.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.4292, allocations: 0 / 458.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.003279/0.4325, allocations: 0.5677 MB / 458.8 MB, free: 37.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.4326, allocations: 54.03 kB / 458.8 MB, free: 37.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.557e-05/0.4326, allocations: 97.55 kB / 458.9 MB, free: 37.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.4327, allocations: 30.27 kB / 459 MB, free: 37.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.601e-05/0.4327, allocations: 84.02 kB / 459 MB, free: 37.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.4327, allocations: 19.28 kB / 459.1 MB, free: 37.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.4328, allocations: 28.67 kB / 459.1 MB, free: 37.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.919e-05/0.4329, allocations: 314 kB / 459.4 MB, free: 37.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.433, allocations: 40.86 kB / 459.4 MB, free: 37.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.4332, allocations: 35.12 kB / 459.5 MB, free: 37.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.4334, allocations: 84.64 kB / 459.5 MB, free: 37.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4334, allocations: 0.5625 kB / 459.5 MB, free: 37.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003263/0.4338, allocations: 123.7 kB / 459.7 MB, free: 37.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.4338, allocations: 9.156 kB / 459.7 MB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.4338, allocations: 0 / 459.7 MB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.4338, allocations: 0 / 459.7 MB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.4341, allocations: 25.31 kB / 459.7 MB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.4341, allocations: 11.55 kB / 459.7 MB, free: 37.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.4342, allocations: 8 kB / 459.7 MB, free: 37.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.4343, allocations: 6.328 kB / 459.7 MB, free: 37.26 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.324e-05/0.4344, allocations: 112.7 kB / 459.8 MB, free: 37.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.4344, allocations: 3.938 kB / 459.8 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.469e-05/0.4345, allocations: 16.97 kB / 459.9 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.4345, allocations: 0 / 459.9 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4345, allocations: 0 / 459.9 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4345, allocations: 0 / 459.9 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.4346, allocations: 189.8 kB / 460 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4346, allocations: 0 / 460 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.4349, allocations: 28.31 kB / 460.1 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4349, allocations: 0 / 460.1 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.4349, allocations: 9.75 kB / 460.1 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4349, allocations: 3.328 kB / 460.1 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4349, allocations: 0.75 kB / 460.1 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004943/0.4354, allocations: 194.2 kB / 460.3 MB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.302e-05/0.4354, allocations: 81.27 kB / 460.4 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.4355, allocations: 0 / 460.4 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.4356, allocations: 16.3 kB / 460.4 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.4357, allocations: 0 / 460.4 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.4357, allocations: 6.328 kB / 460.4 MB, free: 36.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.246e-05/0.4357, allocations: 81.94 kB / 460.5 MB, free: 36.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4357, allocations: 1.219 kB / 460.5 MB, free: 36.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.436, allocations: 31.41 kB / 460.5 MB, free: 36.69 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.000199/0.4362, allocations: 137.7 kB / 460.6 MB, free: 36.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003474/0.4365, allocations: 90.67 kB / 460.7 MB, free: 36.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4365, allocations: 0 / 460.7 MB, free: 36.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.4367, allocations: 46.59 kB / 460.8 MB, free: 36.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.437, allocations: 14.45 kB / 460.8 MB, free: 36.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006195/0.4376, allocations: 162.7 kB / 460.9 MB, free: 36.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.4378, allocations: 0.6839 MB / 461.6 MB, free: 35.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002191/0.438, allocations: 34.86 kB / 461.6 MB, free: 35.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.561e-05/0.438, allocations: 16.97 kB / 461.7 MB, free: 35.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.438, allocations: 2.906 kB / 461.7 MB, free: 35.75 MB / 382.1 MB Notification: Performance of Templates: time 0.004272/0.4423, allocations: 1.498 MB / 463.2 MB, free: 35.68 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)