Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.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.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001143, 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.001134/0.001134, allocations: 195.3 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.559/1.559, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4236/0.4236, allocations: 54.94 MB / 324.7 MB, free: 15.89 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.001776/0.001776, allocations: 67.91 kB / 395.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.16, allocations: 59.6 MB / 454.9 MB, free: 128 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.3151/0.4751, allocations: 1.235 MB / 456.2 MB, free: 39.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005916/0.4758, allocations: 289.4 kB / 456.5 MB, free: 39.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/0.4758, allocations: 0 / 456.5 MB, free: 39.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.4759, allocations: 4.656 kB / 456.5 MB, free: 39.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.377e-05/0.4759, allocations: 7.266 kB / 456.5 MB, free: 39.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000353/0.4763, allocations: 51.08 kB / 456.5 MB, free: 39.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.774e-05/0.4764, allocations: 16.41 kB / 456.5 MB, free: 39.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.652e-05/0.4764, allocations: 0 / 456.5 MB, free: 39.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.584e-05/0.4765, allocations: 11.34 kB / 456.5 MB, free: 39.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.676e-05/0.4766, allocations: 9.484 kB / 456.6 MB, free: 39.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.4766, allocations: 0.9688 kB / 456.6 MB, free: 39.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.4767, allocations: 55.53 kB / 456.6 MB, free: 39.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.4768, allocations: 7.453 kB / 456.6 MB, free: 39.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.4768, allocations: 11.59 kB / 456.6 MB, free: 39.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.477, allocations: 49.62 kB / 456.7 MB, free: 39.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.477, allocations: 0.9375 kB / 456.7 MB, free: 39.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.477, allocations: 0 / 456.7 MB, free: 39.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.477, allocations: 0 / 456.7 MB, free: 39.55 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.0004881/0.4775, allocations: 341.9 kB / 457 MB, free: 39.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.4776, allocations: 7.875 kB / 457 MB, free: 39.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002567/0.4779, allocations: 19.86 kB / 457 MB, free: 39.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.478, allocations: 161.9 kB / 457.2 MB, free: 39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.478, allocations: 4.312 kB / 457.2 MB, free: 39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.478, allocations: 4.969 kB / 457.2 MB, free: 39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.4782, allocations: 47.52 kB / 457.2 MB, free: 38.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.4782, allocations: 3.75 kB / 457.3 MB, free: 38.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.4782, allocations: 6.5 kB / 457.3 MB, free: 38.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.4782, allocations: 0 / 457.3 MB, free: 38.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.7e-05/0.4783, allocations: 16.92 kB / 457.3 MB, free: 38.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.4785, allocations: 152.4 kB / 457.4 MB, free: 38.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.4803, allocations: 272.4 kB / 457.7 MB, free: 38.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.814e-05/0.4804, allocations: 26.17 kB / 457.7 MB, free: 38.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.4804, allocations: 0.7969 kB / 457.7 MB, free: 38.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.4804, allocations: 31.25 kB / 457.7 MB, free: 38.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.675e-06/0.4804, allocations: 0 / 457.7 MB, free: 38.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001933/0.4806, allocations: 70.58 kB / 457.8 MB, free: 38.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.4807, allocations: 56.53 kB / 457.9 MB, free: 38.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.669e-05/0.4807, allocations: 90.52 kB / 458 MB, free: 38.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.4808, allocations: 27.44 kB / 458 MB, free: 38.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.134e-05/0.4808, allocations: 81.86 kB / 458.1 MB, free: 38.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.4808, allocations: 16.41 kB / 458.1 MB, free: 38.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.4809, allocations: 16.3 kB / 458.1 MB, free: 38.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.605e-05/0.481, allocations: 318.7 kB / 458.4 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.132e-05/0.481, allocations: 8.906 kB / 458.4 MB, free: 38.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.845e-05/0.481, allocations: 10.41 kB / 458.4 MB, free: 38.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.106e-05/0.4811, allocations: 29.31 kB / 458.5 MB, free: 38.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4811, allocations: 0 / 458.5 MB, free: 38.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.219e-05/0.4812, allocations: 52.09 kB / 458.5 MB, free: 38.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4812, allocations: 8.938 kB / 458.5 MB, free: 38.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.4812, allocations: 4.562 kB / 458.5 MB, free: 38.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.4812, allocations: 0.8125 kB / 458.5 MB, free: 38.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.839e-05/0.4813, allocations: 8.953 kB / 458.5 MB, free: 38.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.4813, allocations: 1.469 kB / 458.5 MB, free: 38.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.205e-05/0.4813, allocations: 11.31 kB / 458.5 MB, free: 38.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.4814, allocations: 1.125 kB / 458.5 MB, free: 38.01 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 (4): * Single equations (assignments): 4 * 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.879e-05/0.4814, allocations: 109.5 kB / 458.7 MB, free: 37.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.4814, allocations: 2.062 kB / 458.7 MB, free: 37.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.4815, allocations: 11.12 kB / 458.7 MB, free: 37.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.4815, allocations: 0 / 458.7 MB, free: 37.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4815, allocations: 2.844 kB / 458.7 MB, free: 37.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4815, allocations: 4.438 kB / 458.7 MB, free: 37.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.28e-05/0.4816, allocations: 151.5 kB / 458.8 MB, free: 37.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4816, allocations: 2.875 kB / 458.8 MB, free: 37.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.249e-05/0.4817, allocations: 5.719 kB / 458.8 MB, free: 37.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.4817, allocations: 4.438 kB / 458.8 MB, free: 37.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.4817, allocations: 9.156 kB / 458.8 MB, free: 37.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4817, allocations: 0 / 458.8 MB, free: 37.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4817, allocations: 2.062 kB / 458.8 MB, free: 37.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.253e-05/0.4818, allocations: 78.19 kB / 458.9 MB, free: 37.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.4819, allocations: 83.95 kB / 459 MB, free: 37.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.4819, allocations: 4.875 kB / 459 MB, free: 37.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.795e-05/0.4819, allocations: 13.83 kB / 459 MB, free: 37.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.482, allocations: 0 / 459 MB, free: 37.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.482, allocations: 2.875 kB / 459 MB, free: 37.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.681e-05/0.482, allocations: 76.28 kB / 459.1 MB, free: 37.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.482, allocations: 0.8438 kB / 459.1 MB, free: 37.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002009/0.4822, allocations: 7.094 kB / 459.1 MB, free: 37.45 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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.0001087/0.4823, allocations: 93.97 kB / 459.2 MB, free: 37.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001323/0.4825, allocations: 34.75 kB / 459.2 MB, free: 37.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4825, allocations: 0 / 459.2 MB, free: 37.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.177e-05/0.4825, allocations: 15.62 kB / 459.2 MB, free: 37.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.4829, allocations: 15.7 kB / 459.3 MB, free: 37.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000322/0.4832, allocations: 131.1 kB / 459.4 MB, free: 37.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.4833, allocations: 0.6717 MB / 460.1 MB, free: 36.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.82e-05/0.4834, allocations: 11.61 kB / 460.1 MB, free: 36.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.4834, allocations: 10.34 kB / 460.1 MB, free: 36.57 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4834, allocations: 0 / 460.1 MB, free: 36.57 MB / 382.1 MB Notification: Performance of Templates: time 0.002646/0.4861, allocations: 0.5059 MB / 460.6 MB, free: 36.53 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)