Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.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.Fluid.Sources.Validation.BoundaryWithXi_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in") translateModel(IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in") [: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.002075/0.002075, allocations: 176.2 kB / 7.46 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5994/0.5994, 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.135/1.135, allocations: 221.3 MB / 395 MB, free: 10.17 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.0008957/0.0008957, allocations: 82.86 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.19e-06/5.309e-06, allocations: 0 / 0.5528 GB, free: 89.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1112, allocations: 82.31 MB / 0.6332 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.776/3.887, allocations: 2.504 GB / 3.137 GB, free: 253.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/3.887, allocations: 83.44 kB / 3.137 GB, free: 253.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.617/7.505, allocations: 1.422 GB / 4.559 GB, free: 103.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001018/7.505, allocations: 40.34 kB / 4.559 GB, free: 103.5 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002724/7.507, allocations: 1.298 MB / 4.56 GB, free: 102.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/7.507, allocations: 8.844 kB / 4.56 GB, free: 102.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/7.51, allocations: 353.3 kB / 4.561 GB, free: 102.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/7.511, allocations: 0.936 MB / 4.562 GB, free: 102.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/7.511, allocations: 32.28 kB / 4.562 GB, free: 102.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/7.512, allocations: 61.28 kB / 4.562 GB, free: 102.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001514/7.513, allocations: 0.9223 MB / 4.563 GB, free: 102.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/7.515, allocations: 1.306 MB / 4.564 GB, free: 102.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/7.515, allocations: 8.156 kB / 4.564 GB, free: 102 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.58e-05/7.515, allocations: 4.438 kB / 4.564 GB, free: 102 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-05/7.515, allocations: 49.11 kB / 4.564 GB, free: 102 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004508/7.52, allocations: 5.033 MB / 4.569 GB, free: 99.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004678/7.52, allocations: 311.6 kB / 4.569 GB, free: 99.05 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/7.52, allocations: 244.4 kB / 4.569 GB, free: 99.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007062/7.521, allocations: 1.072 MB / 4.57 GB, free: 97.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/7.521, allocations: 39.78 kB / 4.571 GB, free: 97.87 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 1.853e-06/7.521, allocations: 0 / 4.571 GB, free: 97.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.001766/7.523, allocations: 0.5723 MB / 4.571 GB, free: 97.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.067e-05/7.523, allocations: 85.11 kB / 4.571 GB, free: 97.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005787/7.524, allocations: 0.5629 MB / 4.572 GB, free: 97.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/7.524, allocations: 25.92 kB / 4.572 GB, free: 97.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/7.524, allocations: 465 kB / 4.572 GB, free: 97.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/7.524, allocations: 89.53 kB / 4.572 GB, free: 97.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.587e-05/7.524, allocations: 3 kB / 4.572 GB, free: 97.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.012e-05/7.524, allocations: 317.7 kB / 4.573 GB, free: 96.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/7.524, allocations: 152.7 kB / 4.573 GB, free: 96.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/7.524, allocations: 312 kB / 4.573 GB, free: 96.74 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004092/7.525, allocations: 231.1 kB / 4.573 GB, free: 96.74 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/7.525, allocations: 3.938 kB / 4.573 GB, free: 96.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006784/7.525, allocations: 0.5035 MB / 4.574 GB, free: 96.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/7.525, allocations: 3.844 kB / 4.574 GB, free: 96.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/7.525, allocations: 7.344 kB / 4.574 GB, free: 96.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/7.526, allocations: 3.781 kB / 4.574 GB, free: 96.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/7.526, allocations: 56.8 kB / 4.574 GB, free: 96.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/7.526, allocations: 13.77 kB / 4.574 GB, free: 96.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/7.526, allocations: 23.31 kB / 4.574 GB, free: 96.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.111e-05/7.526, allocations: 30.69 kB / 4.574 GB, free: 96.63 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 8.379e-05/7.526, allocations: 119 kB / 4.574 GB, free: 96.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/7.526, allocations: 80.16 kB / 4.574 GB, free: 96.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004262/7.527, allocations: 322.5 kB / 4.574 GB, free: 96.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/7.527, allocations: 3.344 kB / 4.574 GB, free: 96.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/7.527, allocations: 0 / 4.574 GB, free: 96.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/7.527, allocations: 3.656 kB / 4.574 GB, free: 96.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/7.529, allocations: 2.36 MB / 4.577 GB, free: 95.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/7.529, allocations: 7.25 kB / 4.577 GB, free: 95.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/7.529, allocations: 47.42 kB / 4.577 GB, free: 95.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/7.529, allocations: 15.56 kB / 4.577 GB, free: 95.53 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/7.529, allocations: 7.125 kB / 4.577 GB, free: 95.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/7.529, allocations: 9.312 kB / 4.577 GB, free: 95.53 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-06/7.529, allocations: 13.09 kB / 4.577 GB, free: 95.52 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005021/7.53, allocations: 0.8354 MB / 4.578 GB, free: 94.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/7.53, allocations: 207.4 kB / 4.578 GB, free: 94.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/7.53, allocations: 10.22 kB / 4.578 GB, free: 94.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/7.531, allocations: 21.92 kB / 4.578 GB, free: 94.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/7.531, allocations: 35.09 kB / 4.578 GB, free: 94.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/7.531, allocations: 11.97 kB / 4.578 GB, free: 94.65 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0003868/7.531, allocations: 477.8 kB / 4.578 GB, free: 94.56 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001199/7.532, allocations: 0.502 MB / 4.579 GB, free: 94.46 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.003194/7.535, allocations: 2.436 MB / 4.581 GB, free: 93.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004228/7.536, allocations: 340.3 kB / 4.581 GB, free: 93.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/7.536, allocations: 1.062 kB / 4.581 GB, free: 93.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/7.536, allocations: 156.8 kB / 4.582 GB, free: 93.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/7.538, allocations: 422.7 kB / 4.582 GB, free: 93.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/7.54, allocations: 1.444 MB / 4.583 GB, free: 93.28 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009236/7.541, allocations: 1.28 MB / 4.585 GB, free: 92.57 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/7.541, allocations: 0 / 4.585 GB, free: 92.57 MB / 0.698 GB Notification: Performance of Templates: time 0.03359/7.574, allocations: 25.7 MB / 4.61 GB, free: 75.15 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)