Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2761/0.2761, allocations: 54.39 MB / 61.67 MB, free: 11.04 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001165/0.001165, allocations: 190 kB / 75.37 MB, free: 1.473 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.227/1.227, allocations: 194.2 MB / 283.2 MB, free: 3.484 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00172/0.00172, allocations: 125.6 kB / 341.3 MB, free: 9.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.011e-05/1.023e-05, allocations: 4 kB / 405 MB, free: 27.65 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1029, allocations: 57.63 MB / 462.6 MB, free: 1.941 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2859/0.3889, allocations: 86.09 MB / 0.5358 GB, free: 10.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.3892, allocations: 78.52 kB / 0.5359 GB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.006228/0.3954, allocations: 1.648 MB / 0.5375 GB, free: 9.543 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3955, allocations: 0 / 0.5375 GB, free: 9.543 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003143/0.3958, allocations: 354 kB / 0.5378 GB, free: 9.156 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3958, allocations: 11.97 kB / 0.5379 GB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.3959, allocations: 4 kB / 0.5379 GB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.396, allocations: 159.7 kB / 0.538 GB, free: 8.945 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.658e-05/0.3961, allocations: 37.62 kB / 0.538 GB, free: 8.902 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.3961, allocations: 7.891 kB / 0.5381 GB, free: 8.895 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.289e-05/0.3961, allocations: 5.25 kB / 0.5381 GB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.805e-05/0.3962, allocations: 30.83 kB / 0.5381 GB, free: 8.855 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.3962, allocations: 4 kB / 0.5381 GB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.3962, allocations: 0 / 0.5381 GB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3962, allocations: 0 / 0.5381 GB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.3964, allocations: 133.5 kB / 0.5382 GB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.78e-05/0.3965, allocations: 25.52 kB / 0.5382 GB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.522e-05/0.3965, allocations: 6.484 kB / 0.5383 GB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/0.3967, allocations: 97.72 kB / 0.5383 GB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.3967, allocations: 43.09 kB / 0.5384 GB, free: 8.484 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.3967, allocations: 0 / 0.5384 GB, free: 8.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003596/0.3971, allocations: 66.7 kB / 0.5384 GB, free: 8.418 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.3971, allocations: 52.06 kB / 0.5385 GB, free: 8.355 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.659e-05/0.3972, allocations: 95.11 kB / 0.5386 GB, free: 8.258 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.3972, allocations: 25.7 kB / 0.5386 GB, free: 8.227 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/0.3973, allocations: 80.95 kB / 0.5387 GB, free: 8.145 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.3973, allocations: 16.59 kB / 0.5387 GB, free: 8.129 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-06/0.3973, allocations: 0 / 0.5387 GB, free: 8.129 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3975, allocations: 318.4 kB / 0.539 GB, free: 7.812 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.3975, allocations: 4.875 kB / 0.539 GB, free: 7.809 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.031e-05/0.3975, allocations: 0.9375 kB / 0.539 GB, free: 7.809 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.3977, allocations: 31.33 kB / 0.539 GB, free: 7.781 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3977, allocations: 0 / 0.539 GB, free: 7.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002951/0.398, allocations: 74.83 kB / 0.5391 GB, free: 7.707 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.398, allocations: 4 kB / 0.5391 GB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3981, allocations: 4 kB / 0.5391 GB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3981, allocations: 0 / 0.5391 GB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.819e-05/0.3982, allocations: 13.3 kB / 0.5391 GB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3982, allocations: 0 / 0.5391 GB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.098e-05/0.3982, allocations: 0 / 0.5391 GB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.3982, allocations: 0 / 0.5391 GB, free: 7.688 MB / 378.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.908e-05/0.3983, allocations: 113.3 kB / 0.5392 GB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-06/0.3983, allocations: 0 / 0.5392 GB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.3986, allocations: 79.14 kB / 0.5393 GB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3986, allocations: 4.422 kB / 0.5393 GB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3986, allocations: 3.984 kB / 0.5393 GB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3987, allocations: 3.906 kB / 0.5393 GB, free: 7.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.453e-05/0.3987, allocations: 129.1 kB / 0.5395 GB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3988, allocations: 4.812 kB / 0.5395 GB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.236e-05/0.3988, allocations: 11.97 kB / 0.5395 GB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3988, allocations: 0 / 0.5395 GB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.3988, allocations: 0 / 0.5395 GB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3988, allocations: 0 / 0.5395 GB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3988, allocations: 4 kB / 0.5395 GB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000268/0.3991, allocations: 96.67 kB / 0.5396 GB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/0.3992, allocations: 81.67 kB / 0.5396 GB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.3992, allocations: 3.906 kB / 0.5396 GB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.509e-05/0.3993, allocations: 4.484 kB / 0.5397 GB, free: 7.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.3993, allocations: 4 kB / 0.5397 GB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-06/0.3993, allocations: 0.5 kB / 0.5397 GB, free: 7.082 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.012e-05/0.3994, allocations: 80.34 kB / 0.5397 GB, free: 7.004 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002237/0.3996, allocations: 36.98 kB / 0.5398 GB, free: 6.969 MB / 378.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001998/0.3998, allocations: 131.7 kB / 0.5399 GB, free: 6.832 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.421e-05/0.3999, allocations: 10.38 kB / 0.5399 GB, free: 6.824 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.3999, allocations: 0 / 0.5399 GB, free: 6.824 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.876e-05/0.3999, allocations: 9.5 kB / 0.5399 GB, free: 6.816 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.4001, allocations: 4.797 kB / 0.5399 GB, free: 6.812 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001905/0.4003, allocations: 68.16 kB / 0.54 GB, free: 6.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.4005, allocations: 0.6915 MB / 0.5407 GB, free: 6.016 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4005, allocations: 0 / 0.5407 GB, free: 6.016 MB / 378.7 MB Notification: Performance of Templates: time 0.002989/0.4035, allocations: 0.8798 MB / 0.5415 GB, free: 5.148 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)