Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 108 kB / 15.61 MB, free: 152 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.001956/0.001956, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.625/1.625, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.418/0.418, allocations: 54.94 MB / 324.7 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.002767/0.002767, allocations: 71.91 kB / 395.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1701, allocations: 59.6 MB / 454.9 MB, free: 116 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.2873/0.4575, allocations: 1.228 MB / 456.2 MB, free: 39.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005213/0.4581, allocations: 235.4 kB / 456.4 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.05e-05/0.4581, allocations: 0 / 456.4 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.151e-05/0.4582, allocations: 1.125 kB / 456.4 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.371e-05/0.4582, allocations: 4.844 kB / 456.4 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.4586, allocations: 41.67 kB / 456.5 MB, free: 39.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.466e-05/0.4586, allocations: 19.53 kB / 456.5 MB, free: 39.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.865e-05/0.4587, allocations: 5.172 kB / 456.5 MB, free: 39.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.53e-05/0.4587, allocations: 9.516 kB / 456.5 MB, free: 39.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.519e-05/0.4588, allocations: 11.64 kB / 456.5 MB, free: 39.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.4588, allocations: 0 / 456.5 MB, free: 39.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.4589, allocations: 42.44 kB / 456.5 MB, free: 39.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.459, allocations: 11.97 kB / 456.6 MB, free: 39.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.459, allocations: 10.67 kB / 456.6 MB, free: 39.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.4591, allocations: 34.89 kB / 456.6 MB, free: 39.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4591, allocations: 3.75 kB / 456.6 MB, free: 39.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4591, allocations: 0 / 456.6 MB, free: 39.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.4592, allocations: 4.688 kB / 456.6 MB, free: 39.07 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004184/0.4596, allocations: 341.7 kB / 456.9 MB, free: 38.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.4596, allocations: 10.69 kB / 456.9 MB, free: 38.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.4598, allocations: 10.22 kB / 457 MB, free: 38.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.771e-05/0.4599, allocations: 164.2 kB / 457.1 MB, free: 38.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.4599, allocations: 384 / 457.1 MB, free: 38.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.4599, allocations: 3.188 kB / 457.1 MB, free: 38.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.46, allocations: 48.02 kB / 457.2 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4601, allocations: 192 / 457.2 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.4601, allocations: 8.422 kB / 457.2 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.4601, allocations: 3.281 kB / 457.2 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.63e-05/0.4602, allocations: 13.56 kB / 457.2 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.4603, allocations: 155.3 kB / 457.3 MB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.069e-05/0.4604, allocations: 58.23 kB / 457.4 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.4605, allocations: 16.67 kB / 457.4 MB, free: 38.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.906e-06/0.4605, allocations: 0 / 457.4 MB, free: 38.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.4605, allocations: 45.27 kB / 457.5 MB, free: 38.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.4605, allocations: 0.5312 kB / 457.5 MB, free: 38.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.002003/0.4625, allocations: 498 kB / 457.9 MB, free: 37.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.4626, allocations: 52.72 kB / 458 MB, free: 37.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.954e-05/0.4626, allocations: 89.86 kB / 458.1 MB, free: 37.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.4626, allocations: 32.45 kB / 458.1 MB, free: 37.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.329e-05/0.4626, allocations: 84.78 kB / 458.2 MB, free: 37.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.4627, allocations: 30.64 kB / 458.2 MB, free: 37.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.4627, allocations: 20.16 kB / 458.3 MB, free: 37.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.842e-05/0.4628, allocations: 317.3 kB / 458.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.074e-05/0.4629, allocations: 20.94 kB / 458.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.773e-05/0.4629, allocations: 24.44 kB / 458.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.946e-05/0.463, allocations: 64.23 kB / 458.7 MB, free: 37.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.463, allocations: 0.5 kB / 458.7 MB, free: 37.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001288/0.4631, allocations: 94.47 kB / 458.8 MB, free: 37.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.4632, allocations: 8.625 kB / 458.8 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4632, allocations: 2.812 kB / 458.8 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.4632, allocations: 1.406 kB / 458.8 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.4634, allocations: 15.22 kB / 458.8 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.4634, allocations: 0 / 458.8 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.389e-05/0.4634, allocations: 4.469 kB / 458.8 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.4635, allocations: 3.875 kB / 458.8 MB, free: 37.3 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 (9): * Single equations (assignments): 9 * 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.722e-05/0.4635, allocations: 112.2 kB / 458.9 MB, free: 37.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.4635, allocations: 12.22 kB / 458.9 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.84e-05/0.4636, allocations: 17.66 kB / 458.9 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4636, allocations: 0 / 458.9 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4636, allocations: 0 / 458.9 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4636, allocations: 4.25 kB / 458.9 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.4637, allocations: 175.7 kB / 459.1 MB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4638, allocations: 3.938 kB / 459.1 MB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.4639, allocations: 17.02 kB / 459.1 MB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.4639, allocations: 3.938 kB / 459.1 MB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.4639, allocations: 0 / 459.1 MB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.4639, allocations: 4.844 kB / 459.1 MB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4639, allocations: 0 / 459.1 MB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.4642, allocations: 145.7 kB / 459.3 MB, free: 36.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.4642, allocations: 85.95 kB / 459.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.4642, allocations: 3.422 kB / 459.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.4644, allocations: 11.5 kB / 459.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.4644, allocations: 2.875 kB / 459.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.4644, allocations: 5.266 kB / 459.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2e-05/0.4644, allocations: 75.28 kB / 459.5 MB, free: 36.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4644, allocations: 0 / 459.5 MB, free: 36.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001937/0.4646, allocations: 18.22 kB / 459.5 MB, free: 36.75 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 (8): * Single equations (assignments): 8 * 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.0001132/0.4648, allocations: 105.2 kB / 459.6 MB, free: 36.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001646/0.4649, allocations: 59.28 kB / 459.6 MB, free: 36.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4649, allocations: 3.938 kB / 459.6 MB, free: 36.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.616e-05/0.465, allocations: 34.11 kB / 459.7 MB, free: 36.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.4653, allocations: 9.922 kB / 459.7 MB, free: 36.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/0.4658, allocations: 178.9 kB / 459.9 MB, free: 36.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.4659, allocations: 0.6804 MB / 460.5 MB, free: 35.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.708e-05/0.466, allocations: 16.44 kB / 460.6 MB, free: 35.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.823e-05/0.4661, allocations: 10.47 kB / 460.6 MB, free: 35.83 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4661, allocations: 0 / 460.6 MB, free: 35.83 MB / 382.1 MB Notification: Performance of Templates: time 0.002876/0.469, allocations: 0.6885 MB / 461.3 MB, free: 35.8 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)