Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json 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/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X") [: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/Complex 4.0.0+maint.om/package.mo): time 0.002087/0.002087, allocations: 177.2 kB / 7.461 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.597/0.597, allocations: 133.5 MB / 141.4 MB, free: 15.65 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.147/1.147, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008934/0.0008934, allocations: 93.42 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.061e-06/6.522e-06, allocations: 3 kB / 0.5528 GB, free: 89.37 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1019, allocations: 82.3 MB / 0.6332 GB, free: 14.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.306/0.4079, allocations: 110.8 MB / 0.7414 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001764/0.4081, allocations: 73.72 kB / 0.7415 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.003345/0.4115, allocations: 1.2 MB / 0.7427 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.4115, allocations: 0 / 0.7427 GB, free: 10.92 MB / 0.4948 GB 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.0002285/0.4117, allocations: 328.6 kB / 0.743 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.4118, allocations: 11.69 kB / 0.743 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.4119, allocations: 20.22 kB / 0.743 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.442e-05/0.412, allocations: 162.9 kB / 0.7432 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.4121, allocations: 5.312 kB / 0.7432 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.4121, allocations: 0 / 0.7432 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.103e-05/0.4122, allocations: 16.56 kB / 0.7432 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.334e-05/0.4122, allocations: 41.41 kB / 0.7432 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.4123, allocations: 0 / 0.7432 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.4123, allocations: 0 / 0.7432 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4123, allocations: 7.781 kB / 0.7433 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001176/0.4124, allocations: 132.7 kB / 0.7434 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/0.4141, allocations: 272.8 kB / 0.7436 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.272e-05/0.4142, allocations: 20.86 kB / 0.7437 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.4142, allocations: 3.812 kB / 0.7437 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.4142, allocations: 35.91 kB / 0.7437 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4142, allocations: 0 / 0.7437 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001179/0.4143, allocations: 47.66 kB / 0.7437 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.4144, allocations: 62.72 kB / 0.7438 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.143e-05/0.4144, allocations: 85 kB / 0.7439 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.4144, allocations: 33.58 kB / 0.7439 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.065e-05/0.4145, allocations: 80.14 kB / 0.744 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.4145, allocations: 13.02 kB / 0.744 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.4145, allocations: 0 / 0.744 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.4146, allocations: 319.4 kB / 0.7443 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.398e-05/0.4147, allocations: 3.906 kB / 0.7443 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.282e-05/0.4147, allocations: 7.812 kB / 0.7443 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.935e-05/0.4147, allocations: 13.61 kB / 0.7443 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4147, allocations: 3.844 kB / 0.7443 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.7e-05/0.4148, allocations: 42.91 kB / 0.7444 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.4148, allocations: 7.859 kB / 0.7444 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.4148, allocations: 0 / 0.7444 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.4148, allocations: 0 / 0.7444 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.529e-05/0.4149, allocations: 8.891 kB / 0.7444 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.4149, allocations: 3.875 kB / 0.7444 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.766e-05/0.4149, allocations: 3.906 kB / 0.7444 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.4149, allocations: 2.312 kB / 0.7444 GB, free: 25.4 MB / 0.5105 GB 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 (4): * Single equations (assignments): 4 * 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 5.45e-05/0.415, allocations: 110.1 kB / 0.7445 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.686e-06/0.415, allocations: 3.812 kB / 0.7445 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.478e-05/0.415, allocations: 7.406 kB / 0.7445 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.415, allocations: 1.312 kB / 0.7445 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.415, allocations: 3.906 kB / 0.7445 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.415, allocations: 0 / 0.7445 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.68e-05/0.4151, allocations: 129.3 kB / 0.7447 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.4151, allocations: 0 / 0.7447 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.307e-05/0.4152, allocations: 8.922 kB / 0.7447 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4152, allocations: 4 kB / 0.7447 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.4152, allocations: 0 / 0.7447 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4152, allocations: 0 / 0.7447 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4152, allocations: 3.938 kB / 0.7447 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.2e-05/0.4153, allocations: 82.56 kB / 0.7447 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/0.4154, allocations: 83.31 kB / 0.7448 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.4154, allocations: 3.906 kB / 0.7448 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.812e-05/0.4154, allocations: 1.125 kB / 0.7448 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.121e-05/0.4154, allocations: 12.88 kB / 0.7448 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.4154, allocations: 0.5625 kB / 0.7448 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.399e-05/0.4155, allocations: 75.28 kB / 0.7449 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001634/0.4156, allocations: 7.719 kB / 0.7449 GB, free: 24.86 MB / 0.5105 GB 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 (4): * Single equations (assignments): 4 * 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 9.636e-05/0.4157, allocations: 97.81 kB / 0.745 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.181e-05/0.4158, allocations: 22.88 kB / 0.745 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.4158, allocations: 0 / 0.745 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.565e-05/0.4158, allocations: 17.27 kB / 0.7451 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.416, allocations: 8.922 kB / 0.7451 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001937/0.4162, allocations: 72.7 kB / 0.7451 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.4164, allocations: 0.6925 MB / 0.7458 GB, free: 24 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.4164, allocations: 0 / 0.7458 GB, free: 24 MB / 0.5105 GB Notification: Performance of Templates: time 0.001853/0.4183, allocations: 0.5803 MB / 0.7464 GB, free: 23.94 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)