Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Annex60.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009445/0.0009446, allocations: 91.84 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.009836/0.009836, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.763/1.763, allocations: 205.4 MB / 222.5 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4614/0.4614, allocations: 55.02 MB / 325.8 MB, free: 0.5547 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.0005985/0.0005984, allocations: 12 kB / 397.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5018/0.5024, allocations: 60.72 MB / 458 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001711/0.5042, allocations: 0.9932 MB / 459 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003037/0.5072, allocations: 1.959 MB / 460.9 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.106e-05/0.5073, allocations: 1.406 kB / 460.9 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.177e-05/0.5073, allocations: 7.562 kB / 460.9 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.889e-05/0.5074, allocations: 2.031 kB / 460.9 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000724/0.5081, allocations: 189.8 kB / 461.1 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.496e-05/0.5082, allocations: 15.45 kB / 461.1 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.036e-05/0.5082, allocations: 6.859 kB / 461.1 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.188e-05/0.5083, allocations: 3.562 kB / 461.1 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.606e-05/0.5084, allocations: 9.344 kB / 461.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.5084, allocations: 3.844 kB / 461.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003924/0.5088, allocations: 217 kB / 461.4 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.5088, allocations: 9.406 kB / 461.4 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.804e-05/0.5089, allocations: 31.61 kB / 461.4 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.5091, allocations: 159.2 kB / 461.6 MB, free: 38.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5091, allocations: 2.844 kB / 461.6 MB, free: 38.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5091, allocations: 4.906 kB / 461.6 MB, free: 38.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.5092, allocations: 0 / 461.6 MB, free: 38.12 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.0003952/0.5096, allocations: 360.7 kB / 461.9 MB, free: 37.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.5096, allocations: 9.219 kB / 461.9 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.5098, allocations: 7.922 kB / 461.9 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.412e-05/0.5099, allocations: 165.1 kB / 462.1 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.5099, allocations: 384 / 462.1 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.5099, allocations: 11.06 kB / 462.1 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.51, allocations: 44.89 kB / 462.2 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.51, allocations: 0 / 462.2 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.5101, allocations: 0 / 462.2 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.5101, allocations: 1.312 kB / 462.2 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.755e-05/0.5101, allocations: 15.17 kB / 462.2 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001315/0.5103, allocations: 162.2 kB / 462.3 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008258/0.5111, allocations: 124 kB / 462.5 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.756e-05/0.5112, allocations: 23.38 kB / 462.5 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.5113, allocations: 82.95 kB / 462.6 MB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.5113, allocations: 40.84 kB / 462.6 MB, free: 37.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.5113, allocations: 0 / 462.6 MB, free: 37.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001974/0.5115, allocations: 65.38 kB / 462.7 MB, free: 37.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.5115, allocations: 51.41 kB / 462.7 MB, free: 37.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.754e-05/0.5116, allocations: 98.61 kB / 462.8 MB, free: 36.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.5116, allocations: 26.48 kB / 462.8 MB, free: 36.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.337e-05/0.5117, allocations: 80.14 kB / 462.9 MB, free: 36.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.5117, allocations: 12.88 kB / 462.9 MB, free: 36.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.5117, allocations: 13.16 kB / 462.9 MB, free: 36.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.546e-05/0.5118, allocations: 315.1 kB / 463.2 MB, free: 36.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.5118, allocations: 9.828 kB / 463.3 MB, free: 36.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.393e-05/0.5118, allocations: 6.062 kB / 463.3 MB, free: 36.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.554e-05/0.5119, allocations: 29.53 kB / 463.3 MB, free: 36.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5119, allocations: 3.375 kB / 463.3 MB, free: 36.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.866e-05/0.512, allocations: 53.3 kB / 463.3 MB, free: 36.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.512, allocations: 10.69 kB / 463.4 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.512, allocations: 0 / 463.4 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.512, allocations: 0 / 463.4 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.044e-05/0.5121, allocations: 8.438 kB / 463.4 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.5121, allocations: 0.7031 kB / 463.4 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.735e-05/0.5121, allocations: 7.625 kB / 463.4 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.5122, allocations: 8.344 kB / 463.4 MB, free: 36.46 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 6.105e-05/0.5122, allocations: 113.2 kB / 463.5 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.5122, allocations: 7.844 kB / 463.5 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.5124, allocations: 77.56 kB / 463.6 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.5124, allocations: 2.719 kB / 463.6 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5124, allocations: 0 / 463.6 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.5124, allocations: 0 / 463.6 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.17e-05/0.5125, allocations: 156.1 kB / 463.7 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.5125, allocations: 4.875 kB / 463.7 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.5126, allocations: 6.938 kB / 463.7 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.5126, allocations: 3.938 kB / 463.7 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.5126, allocations: 3.375 kB / 463.8 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.5126, allocations: 8.969 kB / 463.8 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5126, allocations: 3.438 kB / 463.8 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.5127, allocations: 80.34 kB / 463.8 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.5128, allocations: 88.45 kB / 463.9 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.5128, allocations: 3.25 kB / 463.9 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.575e-05/0.5129, allocations: 2.531 kB / 463.9 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-05/0.5129, allocations: 3.422 kB / 463.9 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.5129, allocations: 3.062 kB / 463.9 MB, free: 35.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.196e-05/0.5129, allocations: 79.28 kB / 464 MB, free: 35.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5129, allocations: 0 / 464 MB, free: 35.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.5132, allocations: 55.81 kB / 464.1 MB, free: 35.85 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 (5): * Single equations (assignments): 5 * 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.0005375/0.5137, allocations: 189 kB / 464.3 MB, free: 35.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.5139, allocations: 23.73 kB / 464.3 MB, free: 35.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5139, allocations: 0 / 464.3 MB, free: 35.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.6e-05/0.5139, allocations: 18.25 kB / 464.3 MB, free: 35.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.5141, allocations: 13.25 kB / 464.3 MB, free: 35.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.5144, allocations: 146.6 kB / 464.5 MB, free: 35.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.5145, allocations: 0.6751 MB / 465.1 MB, free: 34.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.056e-05/0.5146, allocations: 5.812 kB / 465.1 MB, free: 34.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.247e-05/0.5146, allocations: 10.38 kB / 465.1 MB, free: 34.93 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5146, allocations: 0 / 465.1 MB, free: 34.93 MB / 382.1 MB Notification: Performance of Templates: time 0.003681/0.5183, allocations: 1.229 MB / 466.4 MB, free: 34.82 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) Environment - environmentSimulation: