Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.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.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00595/0.005951, allocations: 169.5 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7943/0.7943, allocations: 132.3 MB / 148.1 MB, free: 248 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.42/1.42, allocations: 223.2 MB / 403.2 MB, free: 6.797 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.0009527/0.0009528, allocations: 86.5 kB / 485.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003627, allocations: 8 kB / 0.5641 GB, free: 2.141 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4696/0.47, allocations: 81.57 MB / 0.6438 GB, free: 39.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.563/6.033, allocations: 2.147 GB / 2.791 GB, free: 84.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/6.033, allocations: 105.7 kB / 2.791 GB, free: 84.67 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.76/10.79, allocations: 1.246 GB / 4.037 GB, free: 63.07 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.485e-06/10.79, allocations: 0 / 4.037 GB, free: 63.07 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004531/10.79, allocations: 91.59 kB / 4.037 GB, free: 63.06 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.01079/10.8, allocations: 4.132 MB / 4.041 GB, free: 60.83 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/10.8, allocations: 9.906 kB / 4.041 GB, free: 60.83 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003025/10.81, allocations: 0.5052 MB / 4.042 GB, free: 60.63 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007984/10.82, allocations: 3.316 MB / 4.045 GB, free: 60.04 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/10.82, allocations: 155.6 kB / 4.045 GB, free: 60.04 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000496/10.82, allocations: 210.6 kB / 4.045 GB, free: 60.04 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004189/10.82, allocations: 2.42 MB / 4.048 GB, free: 59.83 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.489e-05/10.82, allocations: 7.125 kB / 4.048 GB, free: 59.83 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001958/10.82, allocations: 81.05 kB / 4.048 GB, free: 59.83 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.815e-05/10.82, allocations: 73.17 kB / 4.048 GB, free: 59.83 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003179/10.82, allocations: 1.9 MB / 4.05 GB, free: 59.81 MB / 0.7136 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.01552/10.84, allocations: 9.827 MB / 4.059 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/10.84, allocations: 1.382 MB / 4.061 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008168/10.84, allocations: 1.175 MB / 4.062 GB, free: 55.42 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/10.84, allocations: 47.03 kB / 4.062 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=113): time 3.938e-06/10.84, allocations: 0 / 4.062 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=115): time 0.009888/10.85, allocations: 6.213 MB / 4.068 GB, free: 53.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/10.85, allocations: 285.8 kB / 4.068 GB, free: 53.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005352/10.86, allocations: 3.006 MB / 4.071 GB, free: 52.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0005223/10.86, allocations: 57.64 kB / 4.071 GB, free: 52.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001149/10.86, allocations: 1.411 MB / 4.073 GB, free: 52.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005246/10.86, allocations: 393.5 kB / 4.073 GB, free: 52.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.208e-05/10.86, allocations: 30.66 kB / 4.073 GB, free: 52.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.885e-05/10.86, allocations: 363.1 kB / 4.073 GB, free: 51.86 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/10.86, allocations: 1.019 MB / 4.074 GB, free: 51.85 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/10.86, allocations: 1.44 MB / 4.076 GB, free: 51.46 MB / 0.7136 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.004998/10.87, allocations: 2.944 MB / 4.079 GB, free: 50.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/10.87, allocations: 5.469 kB / 4.079 GB, free: 50.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.00493/10.87, allocations: 3.078 MB / 4.082 GB, free: 50.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007776/10.87, allocations: 2.922 MB / 4.085 GB, free: 47.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/10.87, allocations: 3.5 kB / 4.085 GB, free: 47.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.548e-05/10.87, allocations: 13.62 kB / 4.085 GB, free: 47.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/10.87, allocations: 263.2 kB / 4.085 GB, free: 47.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003586/10.88, allocations: 0.6068 MB / 4.085 GB, free: 46.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003091/10.88, allocations: 180.7 kB / 4.086 GB, free: 46.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002933/10.88, allocations: 86.61 kB / 4.086 GB, free: 46.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/10.88, allocations: 6.984 kB / 4.086 GB, free: 46.44 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00404/10.88, allocations: 3.192 MB / 4.089 GB, free: 46.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/10.88, allocations: 3.812 kB / 4.089 GB, free: 46.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/10.88, allocations: 15.66 kB / 4.089 GB, free: 46.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009633/10.88, allocations: 240.7 kB / 4.089 GB, free: 46.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/10.88, allocations: 20.86 kB / 4.089 GB, free: 46.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003029/10.89, allocations: 173.2 kB / 4.089 GB, free: 46.03 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002167/10.89, allocations: 82.41 kB / 4.089 GB, free: 46.03 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 7 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002442/10.89, allocations: 1.085 MB / 4.09 GB, free: 45.65 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009899/10.89, allocations: 310.1 kB / 4.091 GB, free: 45.49 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00417/10.89, allocations: 2.357 MB / 4.093 GB, free: 45.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/10.89, allocations: 12.78 kB / 4.093 GB, free: 45.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/10.89, allocations: 0 / 4.093 GB, free: 45.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002537/10.9, allocations: 2.15 MB / 4.095 GB, free: 44.74 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/10.91, allocations: 5.615 MB / 4.101 GB, free: 43.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/10.91, allocations: 3.688 kB / 4.101 GB, free: 43.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/10.91, allocations: 225.3 kB / 4.101 GB, free: 43.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.401e-05/10.91, allocations: 12.5 kB / 4.101 GB, free: 43.21 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/10.91, allocations: 43.25 kB / 4.101 GB, free: 43.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002701/10.91, allocations: 0.6146 MB / 4.101 GB, free: 42.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/10.91, allocations: 8.312 kB / 4.101 GB, free: 42.6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005486/10.92, allocations: 4.442 MB / 4.106 GB, free: 39.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002472/10.92, allocations: 0.6829 MB / 4.106 GB, free: 39.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00115/10.92, allocations: 42.48 kB / 4.106 GB, free: 39.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00274/10.92, allocations: 148 kB / 4.107 GB, free: 39.37 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003686/10.92, allocations: 156.2 kB / 4.107 GB, free: 39.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/10.92, allocations: 55.77 kB / 4.107 GB, free: 39.32 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.005848/10.93, allocations: 2.335 MB / 4.109 GB, free: 38.39 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.61e-07/10.93, allocations: 3.062 kB / 4.109 GB, free: 38.39 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.008291/10.94, allocations: 1.469 MB / 4.111 GB, free: 38.12 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 5 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCooHea.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U) * Number of discrete variables: 6 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i) * Number of discrete states: 6 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005655/10.94, allocations: 2.863 MB / 4.113 GB, free: 36.99 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007545/10.95, allocations: 5.342 MB / 4.119 GB, free: 33.95 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/10.95, allocations: 6.234 kB / 4.119 GB, free: 33.95 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002517/10.95, allocations: 1.846 MB / 4.12 GB, free: 32.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008949/10.96, allocations: 1.584 MB / 4.122 GB, free: 32.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01411/10.98, allocations: 6.847 MB / 4.129 GB, free: 28.79 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003116/10.98, allocations: 2.072 MB / 4.131 GB, free: 27.85 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00421/10.98, allocations: 0.6355 MB / 4.131 GB, free: 27.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009689/10.98, allocations: 199.3 kB / 4.131 GB, free: 27.76 MB / 0.7136 GB Notification: Performance of SimCode: time 1.113e-06/10.98, allocations: 0.6562 kB / 4.131 GB, free: 27.76 MB / 0.7136 GB Notification: Performance of Templates: time 0.6364/11.62, allocations: 87.15 MB / 4.217 GB, free: 94.5 MB / 0.7448 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)