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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007125/0.007125, allocations: 170.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.747/0.747, allocations: 132.3 MB / 148.1 MB, free: 204 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.2 MB / 403.2 MB, free: 6.703 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 90.73 kB / 485.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.000346, allocations: 8 kB / 0.5641 GB, free: 2.098 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4789/0.4793, allocations: 81.58 MB / 0.6438 GB, free: 39.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7426/1.222, allocations: 382.7 MB / 1.018 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/1.222, allocations: 101.6 kB / 1.018 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.186/7.408, allocations: 1.654 GB / 2.672 GB, free: 97.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.456e-06/7.408, allocations: 0 / 2.672 GB, free: 97.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0007618/7.409, allocations: 111 kB / 2.672 GB, free: 97.39 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: 746 * Number of variables: 746 Notification: Performance of Generate backend data structure: time 0.01701/7.426, allocations: 4.747 MB / 2.677 GB, free: 95.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/7.426, allocations: 11.09 kB / 2.677 GB, free: 95.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/7.436, allocations: 1.632 MB / 2.678 GB, free: 95.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03995/7.476, allocations: 18.44 MB / 2.696 GB, free: 94.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002189/7.477, allocations: 225.2 kB / 2.697 GB, free: 94.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008015/7.477, allocations: 300.9 kB / 2.697 GB, free: 94.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006706/7.484, allocations: 4.337 MB / 2.701 GB, free: 93.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.54e-05/7.484, allocations: 13.72 kB / 2.701 GB, free: 93.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003362/7.485, allocations: 126.2 kB / 2.701 GB, free: 93.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001243/7.485, allocations: 143.6 kB / 2.701 GB, free: 93.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005285/7.49, allocations: 3.767 MB / 2.705 GB, free: 93.83 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02647/7.517, allocations: 20.08 MB / 2.725 GB, free: 84.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003647/7.52, allocations: 2.643 MB / 2.727 GB, free: 83.99 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004445/7.521, allocations: 0.5394 MB / 2.728 GB, free: 83.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/7.521, allocations: 61.25 kB / 2.728 GB, free: 83.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=184): time 4.208e-06/7.521, allocations: 0 / 2.728 GB, free: 83.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=184): time 0.01795/7.539, allocations: 6.194 MB / 2.734 GB, free: 82.51 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/7.539, allocations: 70.53 kB / 2.734 GB, free: 82.44 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005647/7.544, allocations: 3.095 MB / 2.737 GB, free: 82.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006414/7.545, allocations: 73.3 kB / 2.737 GB, free: 82.17 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001529/7.547, allocations: 1.774 MB / 2.739 GB, free: 81.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000833/7.548, allocations: 0.6263 MB / 2.739 GB, free: 81.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/7.548, allocations: 48.31 kB / 2.74 GB, free: 81.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001842/7.548, allocations: 407.8 kB / 2.74 GB, free: 80.81 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00192/7.55, allocations: 1.239 MB / 2.741 GB, free: 80.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002102/7.552, allocations: 1.933 MB / 2.743 GB, free: 80.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/7.554, allocations: 1.594 MB / 2.745 GB, free: 80.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/7.554, allocations: 7.875 kB / 2.745 GB, free: 80.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.007983/7.562, allocations: 4.232 MB / 2.749 GB, free: 79.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001911/7.564, allocations: 7.285 MB / 2.756 GB, free: 72.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.291e-05/7.564, allocations: 21.41 kB / 2.756 GB, free: 72.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006286/7.57, allocations: 1.506 MB / 2.757 GB, free: 72.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002497/7.573, allocations: 0.4903 MB / 2.758 GB, free: 72.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00542/7.578, allocations: 4.843 MB / 2.763 GB, free: 69.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004385/7.583, allocations: 458.3 kB / 2.763 GB, free: 69.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003839/7.583, allocations: 118.5 kB / 2.763 GB, free: 69.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/7.583, allocations: 3.875 kB / 2.763 GB, free: 69.31 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007166/7.59, allocations: 3.956 MB / 2.767 GB, free: 69.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-05/7.59, allocations: 16.84 kB / 2.767 GB, free: 69.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0058/7.596, allocations: 1.538 MB / 2.768 GB, free: 69.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/7.598, allocations: 473.8 kB / 2.769 GB, free: 69.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004334/7.603, allocations: 3.655 MB / 2.772 GB, free: 67.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004038/7.607, allocations: 380.2 kB / 2.773 GB, free: 67.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000491/7.607, allocations: 118 kB / 2.773 GB, free: 67.51 MB / 0.698 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (237): * Single equations (assignments): 232 * 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 {4 7,5 50,3 8} Notification: Performance of prepare postOptimizeDAE: time 0.003443/7.611, allocations: 1.497 MB / 2.774 GB, free: 67.31 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001554/7.612, allocations: 336.3 kB / 2.775 GB, free: 67.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00602/7.618, allocations: 3.333 MB / 2.778 GB, free: 66.95 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.462e-05/7.618, allocations: 21.28 kB / 2.778 GB, free: 66.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-05/7.618, allocations: 1.562 kB / 2.778 GB, free: 66.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00366/7.622, allocations: 2.73 MB / 2.781 GB, free: 66.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01459/7.637, allocations: 7.154 MB / 2.788 GB, free: 66.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/7.637, allocations: 8.531 kB / 2.788 GB, free: 66.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/7.638, allocations: 277.5 kB / 2.788 GB, free: 66.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00363/7.642, allocations: 1.108 MB / 2.789 GB, free: 66.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003497/7.642, allocations: 48.83 kB / 2.789 GB, free: 66.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006963/7.649, allocations: 10.1 MB / 2.799 GB, free: 58.08 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/7.649, allocations: 3.344 kB / 2.799 GB, free: 58.08 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008282/7.657, allocations: 4.826 MB / 2.804 GB, free: 57.53 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003856/7.661, allocations: 0.8422 MB / 2.804 GB, free: 57.24 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001487/7.663, allocations: 38.69 kB / 2.805 GB, free: 57.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003535/7.666, allocations: 230.4 kB / 2.805 GB, free: 57.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003231/7.666, allocations: 125.3 kB / 2.805 GB, free: 57.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002975/7.667, allocations: 90.31 kB / 2.805 GB, free: 57.22 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005032/7.672, allocations: 2.407 MB / 2.807 GB, free: 57.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.994e-06/7.672, allocations: 0 / 2.807 GB, free: 57.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01189/7.684, allocations: 2.283 MB / 2.81 GB, free: 56.76 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 127 * 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 60} Notification: Performance of Backend phase and start with SimCode phase: time 0.002096/7.686, allocations: 0.6926 MB / 2.81 GB, free: 56.59 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01384/7.7, allocations: 5.352 MB / 2.815 GB, free: 55.73 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.696e-05/7.7, allocations: 6.5 kB / 2.815 GB, free: 55.73 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003266/7.703, allocations: 1.894 MB / 2.817 GB, free: 54.76 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009736/7.713, allocations: 1.78 MB / 2.819 GB, free: 54.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01811/7.731, allocations: 9.266 MB / 2.828 GB, free: 49.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003734/7.735, allocations: 3.047 MB / 2.831 GB, free: 48.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.005279/7.74, allocations: 1.351 MB / 2.832 GB, free: 48.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008457/7.741, allocations: 256.1 kB / 2.833 GB, free: 48.44 MB / 0.698 GB Notification: Performance of SimCode: time 1.393e-06/7.741, allocations: 0 / 2.833 GB, free: 48.44 MB / 0.698 GB Notification: Performance of Templates: time 0.1346/7.876, allocations: 84.38 MB / 2.915 GB, free: 0.9297 MB / 0.7136 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)