Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.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/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/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.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2") translateModel(IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2") [: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.004184/0.004184, allocations: 183 kB / 7.459 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6987/0.6987, allocations: 130.6 MB / 138.5 MB, free: 2.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.645/1.645, allocations: 221.3 MB / 391.4 MB, free: 13.07 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.000936/0.0009355, allocations: 93.88 kB / 473.4 MB, free: 14.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.125e-06/8.235e-06, allocations: 2.406 kB / 0.5479 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1938, allocations: 81.58 MB / 0.6276 GB, free: 18.21 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.304/1.498, allocations: 381.9 MB / 1.001 GB, free: 231 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/1.499, allocations: 103 kB / 1.001 GB, free: 230.9 MB / 0.6667 GB Notification: Performance of FrontEnd: time 6.348/7.847, allocations: 1.65 GB / 2.651 GB, free: 89.15 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0009544/7.848, allocations: 115.9 kB / 2.651 GB, free: 89.13 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 746 * Number of variables: 746 Notification: Performance of Generate backend data structure: time 0.01651/7.864, allocations: 3.835 MB / 2.655 GB, free: 87.29 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.511e-05/7.864, allocations: 7.406 kB / 2.655 GB, free: 87.29 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006074/7.87, allocations: 0.5275 MB / 2.655 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05285/7.923, allocations: 18.33 MB / 2.673 GB, free: 78.83 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003287/7.924, allocations: 91.19 kB / 2.673 GB, free: 78.83 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001713/7.925, allocations: 185.5 kB / 2.673 GB, free: 78.83 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009745/7.935, allocations: 3.598 MB / 2.677 GB, free: 77.12 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01118/7.946, allocations: 3.952 MB / 2.681 GB, free: 74.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.061e-05/7.946, allocations: 7.844 kB / 2.681 GB, free: 74.81 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004638/7.947, allocations: 6.188 kB / 2.681 GB, free: 74.81 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001938/7.947, allocations: 154.2 kB / 2.681 GB, free: 74.78 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03094/7.978, allocations: 19.65 MB / 2.7 GB, free: 58.09 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003432/7.981, allocations: 2.609 MB / 2.703 GB, free: 55.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/7.983, allocations: 1.361 MB / 2.704 GB, free: 54.14 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004835/7.984, allocations: 0.5358 MB / 2.705 GB, free: 53.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/7.984, allocations: 60.56 kB / 2.705 GB, free: 53.43 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=184): time 3.697e-06/7.984, allocations: 0 / 2.705 GB, free: 53.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=184): time 0.006637/7.99, allocations: 3.095 MB / 2.708 GB, free: 50.32 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/7.99, allocations: 69.41 kB / 2.708 GB, free: 50.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004557/7.995, allocations: 2.977 MB / 2.711 GB, free: 47.27 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005704/7.995, allocations: 29.7 kB / 2.711 GB, free: 47.24 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008745/7.996, allocations: 1.204 MB / 2.712 GB, free: 46.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009549/7.997, allocations: 0.6061 MB / 2.712 GB, free: 45.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/7.997, allocations: 0 / 2.712 GB, free: 45.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001422/7.998, allocations: 402.9 kB / 2.713 GB, free: 45 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/7.999, allocations: 1.258 MB / 2.714 GB, free: 43.74 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/8.001, allocations: 1.923 MB / 2.716 GB, free: 41.54 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002763/8.004, allocations: 1.679 MB / 2.718 GB, free: 39.89 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/8.004, allocations: 4 kB / 2.718 GB, free: 39.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.0076/8.012, allocations: 4.044 MB / 2.722 GB, free: 35.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001382/8.013, allocations: 7.261 MB / 2.729 GB, free: 28.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/8.013, allocations: 20 kB / 2.729 GB, free: 28.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003074/8.016, allocations: 1.036 MB / 2.73 GB, free: 27.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002491/8.019, allocations: 0.4979 MB / 2.73 GB, free: 26.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005234/8.024, allocations: 4.955 MB / 2.735 GB, free: 21.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004883/8.029, allocations: 371.3 kB / 2.735 GB, free: 21.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005078/8.029, allocations: 119.9 kB / 2.735 GB, free: 21.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/8.029, allocations: 4 kB / 2.735 GB, free: 21.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006074/8.035, allocations: 3.458 MB / 2.739 GB, free: 17.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/8.035, allocations: 20 kB / 2.739 GB, free: 17.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003805/8.039, allocations: 1.116 MB / 2.74 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001947/8.041, allocations: 479.2 kB / 2.74 GB, free: 16.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004587/8.046, allocations: 3.594 MB / 2.744 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004424/8.05, allocations: 297.8 kB / 2.744 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005439/8.051, allocations: 116 kB / 2.744 GB, free: 11.96 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 242 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 6,5 40,5 6} Notification: Performance of prepare postOptimizeDAE: time 0.001153/8.052, allocations: 164.8 kB / 2.744 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001916/8.054, allocations: 332 kB / 2.745 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007104/8.061, allocations: 3.197 MB / 2.748 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.561e-05/8.061, allocations: 20 kB / 2.748 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-05/8.061, allocations: 3.938 kB / 2.748 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003821/8.065, allocations: 2.59 MB / 2.75 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01597/8.081, allocations: 6.651 MB / 2.757 GB, free: 14.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/8.081, allocations: 0 / 2.757 GB, free: 14.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/8.082, allocations: 271.6 kB / 2.757 GB, free: 14.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003546/8.086, allocations: 0.9834 MB / 2.758 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002118/8.086, allocations: 23.92 kB / 2.758 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01003/8.096, allocations: 9.706 MB / 2.768 GB, free: 3.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/8.096, allocations: 3.906 kB / 2.768 GB, free: 3.266 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.4283/8.525, allocations: 4.725 MB / 2.772 GB, free: 157.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003415/8.528, allocations: 0.8257 MB / 2.773 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00162/8.53, allocations: 10.55 kB / 2.773 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003643/8.533, allocations: 178.1 kB / 2.773 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002741/8.534, allocations: 99.62 kB / 2.773 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002507/8.534, allocations: 88.95 kB / 2.773 GB, free: 157.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.004254/8.538, allocations: 2.275 MB / 2.776 GB, free: 157.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01014/8.548, allocations: 2.146 MB / 2.778 GB, free: 157.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (rad1.vol[1].dynBal.U,rad1.vol[2].dynBal.U,rad1.vol[3].dynBal.U,rad1.vol[4].dynBal.U,rad1.vol[5].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {5 45} Notification: Performance of Backend phase and start with SimCode phase: time 0.001793/8.55, allocations: 0.6729 MB / 2.778 GB, free: 157.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009232/8.559, allocations: 4.87 MB / 2.783 GB, free: 157.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.055e-05/8.56, allocations: 7.625 kB / 2.783 GB, free: 157.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003034/8.563, allocations: 1.778 MB / 2.785 GB, free: 156.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01047/8.573, allocations: 1.642 MB / 2.787 GB, free: 156.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/8.589, allocations: 6.622 MB / 2.793 GB, free: 155.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003963/8.593, allocations: 3.307 MB / 2.796 GB, free: 154.7 MB / 0.698 GB Notification: Performance of SimCode: time 9.72e-07/8.593, allocations: 0 / 2.796 GB, free: 154.7 MB / 0.698 GB Notification: Performance of Templates: time 0.1625/8.756, allocations: 89.54 MB / 2.884 GB, free: 151 MB / 0.698 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)