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.001002/0.001002, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009837/0.0009837, allocations: 193 kB / 16.13 MB, free: 6.652 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.583/1.583, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4059/0.4059, allocations: 54.93 MB / 324.3 MB, free: 160 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.001431/0.001431, allocations: 64.47 kB / 394.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1683, allocations: 59.58 MB / 454.2 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.3045/0.4728, allocations: 1.308 MB / 455.5 MB, free: 39.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006526/0.4735, allocations: 301.9 kB / 455.8 MB, free: 39.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.703e-05/0.4736, allocations: 0 / 455.8 MB, free: 39.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.969e-05/0.4736, allocations: 1 kB / 455.8 MB, free: 39.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.461e-05/0.4737, allocations: 5.938 kB / 455.8 MB, free: 39.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.4739, allocations: 44.12 kB / 455.9 MB, free: 39.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.198e-05/0.474, allocations: 18.19 kB / 455.9 MB, free: 39.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.985e-05/0.4741, allocations: 2.938 kB / 455.9 MB, free: 39.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.731e-05/0.4741, allocations: 10.19 kB / 455.9 MB, free: 39.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.742e-05/0.4742, allocations: 8.781 kB / 455.9 MB, free: 39.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.4742, allocations: 2.625 kB / 455.9 MB, free: 39.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.4743, allocations: 50.78 kB / 456 MB, free: 39.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.4743, allocations: 6.734 kB / 456 MB, free: 39.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.4744, allocations: 8.328 kB / 456 MB, free: 39.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.4745, allocations: 50.11 kB / 456 MB, free: 39.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4745, allocations: 2.844 kB / 456 MB, free: 39.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4745, allocations: 0 / 456 MB, free: 39.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.4745, allocations: 0.8438 kB / 456 MB, free: 39.48 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.000337/0.4749, allocations: 337.9 kB / 456.4 MB, free: 39.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.4749, allocations: 11.06 kB / 456.4 MB, free: 39.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002226/0.4752, allocations: 18.3 kB / 456.4 MB, free: 39.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.811e-05/0.4753, allocations: 163.9 kB / 456.6 MB, free: 38.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.4753, allocations: 0.9062 kB / 456.6 MB, free: 38.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.4753, allocations: 3.062 kB / 456.6 MB, free: 38.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.4754, allocations: 45.31 kB / 456.6 MB, free: 38.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.4754, allocations: 1 kB / 456.6 MB, free: 38.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.4754, allocations: 5.344 kB / 456.6 MB, free: 38.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4754, allocations: 0.5 kB / 456.6 MB, free: 38.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.798e-05/0.4755, allocations: 16.41 kB / 456.6 MB, free: 38.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001256/0.4756, allocations: 161.5 kB / 456.8 MB, free: 38.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.4775, allocations: 271.3 kB / 457.1 MB, free: 38.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.866e-05/0.4775, allocations: 20.56 kB / 457.1 MB, free: 38.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.4775, allocations: 1.688 kB / 457.1 MB, free: 38.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.4776, allocations: 32.56 kB / 457.1 MB, free: 38.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.4776, allocations: 0 / 457.1 MB, free: 38.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001662/0.4777, allocations: 70.34 kB / 457.2 MB, free: 38.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.4778, allocations: 60.27 kB / 457.2 MB, free: 38.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.26e-05/0.4778, allocations: 93.98 kB / 457.3 MB, free: 38.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.4778, allocations: 25.7 kB / 457.4 MB, free: 38.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.482e-05/0.4779, allocations: 85.44 kB / 457.4 MB, free: 38.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.4779, allocations: 14.56 kB / 457.5 MB, free: 38.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.4779, allocations: 15.31 kB / 457.5 MB, free: 38.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.926e-05/0.478, allocations: 316.3 kB / 457.8 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.478, allocations: 7.375 kB / 457.8 MB, free: 37.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.657e-05/0.478, allocations: 8.906 kB / 457.8 MB, free: 37.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.52e-05/0.4781, allocations: 31.36 kB / 457.8 MB, free: 37.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4781, allocations: 2.469 kB / 457.8 MB, free: 37.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.972e-05/0.4782, allocations: 52.5 kB / 457.9 MB, free: 37.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.4782, allocations: 6.594 kB / 457.9 MB, free: 37.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.4782, allocations: 4.469 kB / 457.9 MB, free: 37.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.4782, allocations: 0 / 457.9 MB, free: 37.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.982e-05/0.4783, allocations: 8.5 kB / 457.9 MB, free: 37.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.4783, allocations: 0.875 kB / 457.9 MB, free: 37.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.4783, allocations: 3.906 kB / 457.9 MB, free: 37.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.4783, allocations: 3.938 kB / 457.9 MB, free: 37.94 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.159e-05/0.4784, allocations: 116.2 kB / 458 MB, free: 37.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.4784, allocations: 2.906 kB / 458 MB, free: 37.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.4785, allocations: 12.19 kB / 458 MB, free: 37.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4785, allocations: 0 / 458 MB, free: 37.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4785, allocations: 0.75 kB / 458 MB, free: 37.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.4785, allocations: 0 / 458 MB, free: 37.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.891e-05/0.4786, allocations: 154.6 kB / 458.2 MB, free: 37.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4786, allocations: 0.8438 kB / 458.2 MB, free: 37.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.904e-05/0.4786, allocations: 12.48 kB / 458.2 MB, free: 37.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.4786, allocations: 0.9062 kB / 458.2 MB, free: 37.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.4786, allocations: 7.625 kB / 458.2 MB, free: 37.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4787, allocations: 1.469 kB / 458.2 MB, free: 37.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4787, allocations: 0 / 458.2 MB, free: 37.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.733e-05/0.4788, allocations: 78.38 kB / 458.3 MB, free: 37.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.4788, allocations: 82.12 kB / 458.4 MB, free: 37.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.4788, allocations: 16.03 kB / 458.4 MB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.337e-05/0.4789, allocations: 1.656 kB / 458.4 MB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.953e-05/0.4789, allocations: 3 kB / 458.4 MB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.4789, allocations: 1 kB / 458.4 MB, free: 37.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.043e-05/0.479, allocations: 79.89 kB / 458.5 MB, free: 37.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.479, allocations: 0 / 458.5 MB, free: 37.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001871/0.4791, allocations: 6.969 kB / 458.5 MB, free: 37.39 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 9.062e-05/0.4792, allocations: 101.8 kB / 458.6 MB, free: 37.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.656e-05/0.4794, allocations: 24.03 kB / 458.6 MB, free: 37.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4794, allocations: 0 / 458.6 MB, free: 37.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.077e-05/0.4794, allocations: 13.75 kB / 458.6 MB, free: 37.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.4797, allocations: 12.19 kB / 458.6 MB, free: 37.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.48, allocations: 130.7 kB / 458.7 MB, free: 37.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.4801, allocations: 0.6812 MB / 459.4 MB, free: 36.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.745e-05/0.4801, allocations: 0.6562 kB / 459.4 MB, free: 36.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.4802, allocations: 11.78 kB / 459.4 MB, free: 36.5 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4802, allocations: 0 / 459.4 MB, free: 36.5 MB / 382.1 MB Notification: Performance of Templates: time 0.002149/0.4823, allocations: 0.4946 MB / 459.9 MB, free: 36.45 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)