Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009111/0.0009111, allocations: 173.2 kB / 16.76 MB, free: 4.941 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4494/0.4494, allocations: 86.28 MB / 103.8 MB, free: 14.56 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 223.2 MB / 348.4 MB, free: 5 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007719/0.0007718, allocations: 93.94 kB / 420.2 MB, free: 9.645 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003709, allocations: 12 kB / 0.4901 GB, free: 7.996 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3183, allocations: 71.02 MB / 0.5595 GB, free: 43.73 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.073/4.391, allocations: 2.136 GB / 2.696 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/4.391, allocations: 104.4 kB / 2.696 GB, free: 151.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.746/8.138, allocations: 1.232 GB / 3.927 GB, free: 49.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.114e-06/8.138, allocations: 0 / 3.927 GB, free: 49.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004488/8.138, allocations: 80.3 kB / 3.927 GB, free: 49.3 MB / 0.6355 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.009571/8.148, allocations: 4.106 MB / 3.931 GB, free: 46.92 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/8.148, allocations: 7.969 kB / 3.931 GB, free: 46.92 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002738/8.151, allocations: 0.5159 MB / 3.932 GB, free: 46.72 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00748/8.158, allocations: 3.374 MB / 3.935 GB, free: 45.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/8.158, allocations: 157.8 kB / 3.935 GB, free: 45.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006447/8.159, allocations: 202.3 kB / 3.936 GB, free: 45.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005039/8.164, allocations: 2.437 MB / 3.938 GB, free: 45.74 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.645e-05/8.164, allocations: 7.844 kB / 3.938 GB, free: 45.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002056/8.164, allocations: 80.08 kB / 3.938 GB, free: 45.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.959e-05/8.164, allocations: 71.62 kB / 3.938 GB, free: 45.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003074/8.168, allocations: 1.9 MB / 3.94 GB, free: 45.7 MB / 0.6355 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.0125/8.18, allocations: 9.791 MB / 3.95 GB, free: 40.04 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/8.182, allocations: 1.38 MB / 3.951 GB, free: 39.47 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/8.183, allocations: 0.9582 MB / 3.952 GB, free: 39.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006987/8.184, allocations: 1.173 MB / 3.953 GB, free: 37.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/8.184, allocations: 47.41 kB / 3.953 GB, free: 37.72 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=113): time 3.186e-06/8.184, allocations: 4 kB / 3.953 GB, free: 37.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=115): time 0.008426/8.192, allocations: 5.737 MB / 3.959 GB, free: 34.62 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/8.192, allocations: 288.4 kB / 3.959 GB, free: 34.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004753/8.197, allocations: 3.305 MB / 3.962 GB, free: 33.03 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003345/8.197, allocations: 56.14 kB / 3.962 GB, free: 32.98 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001054/8.198, allocations: 1.411 MB / 3.964 GB, free: 31.88 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000382/8.199, allocations: 393.5 kB / 3.964 GB, free: 31.58 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.658e-05/8.199, allocations: 31.19 kB / 3.964 GB, free: 31.56 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.437e-05/8.199, allocations: 359.9 kB / 3.964 GB, free: 31.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/8.2, allocations: 1.021 MB / 3.965 GB, free: 30.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/8.202, allocations: 1.444 MB / 3.967 GB, free: 29.95 MB / 0.6355 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.008186/8.21, allocations: 6.606 MB / 3.973 GB, free: 26.28 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/8.21, allocations: 3.062 kB / 3.973 GB, free: 26.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003861/8.214, allocations: 3.085 MB / 3.976 GB, free: 24.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002587/8.214, allocations: 0.6477 MB / 3.977 GB, free: 24.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/8.214, allocations: 6.562 kB / 3.977 GB, free: 24.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/8.214, allocations: 11.81 kB / 3.977 GB, free: 24.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/8.215, allocations: 265.7 kB / 3.977 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002835/8.215, allocations: 0.6193 MB / 3.978 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002485/8.218, allocations: 184.7 kB / 3.978 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/8.218, allocations: 75.75 kB / 3.978 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.804e-06/8.218, allocations: 8 kB / 3.978 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00338/8.222, allocations: 3.183 MB / 3.981 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/8.222, allocations: 10.81 kB / 3.981 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/8.222, allocations: 8 kB / 3.981 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008806/8.222, allocations: 258.4 kB / 3.981 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/8.222, allocations: 21.83 kB / 3.981 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/8.225, allocations: 174.7 kB / 3.982 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001898/8.225, allocations: 79.78 kB / 3.982 GB, free: 19.53 MB / 0.6355 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.002015/8.227, allocations: 1.096 MB / 3.983 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007116/8.228, allocations: 311.8 kB / 3.983 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00322/8.231, allocations: 2.36 MB / 3.985 GB, free: 16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/8.231, allocations: 12 kB / 3.985 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/8.231, allocations: 0 / 3.985 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002126/8.233, allocations: 2.151 MB / 3.987 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007616/8.241, allocations: 5.591 MB / 3.993 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/8.241, allocations: 4 kB / 3.993 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009098/8.242, allocations: 228.7 kB / 3.993 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/8.242, allocations: 8 kB / 3.993 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.371e-05/8.242, allocations: 39.8 kB / 3.993 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002121/8.242, allocations: 0.6171 MB / 3.994 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/8.242, allocations: 11.94 kB / 3.994 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004031/8.246, allocations: 3.839 MB / 3.997 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/8.248, allocations: 0.6748 MB / 3.998 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003692/8.248, allocations: 36 kB / 3.998 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/8.25, allocations: 150.9 kB / 3.998 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002653/8.25, allocations: 152.3 kB / 3.998 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/8.25, allocations: 59.45 kB / 3.998 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003202/8.253, allocations: 2.289 MB / 4.001 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.51e-07/8.253, allocations: 0 / 4.001 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003966/8.257, allocations: 1.433 MB / 4.002 GB, free: 420 kB / 0.6355 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.003885/8.261, allocations: 2.819 MB / 4.005 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00664/8.268, allocations: 5.357 MB / 4.01 GB, free: 8.297 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/8.268, allocations: 0 / 4.01 GB, free: 8.297 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002352/8.27, allocations: 1.863 MB / 4.012 GB, free: 6.367 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009906/8.28, allocations: 1.615 MB / 4.014 GB, free: 4.836 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3368/8.617, allocations: 6.847 MB / 4.02 GB, free: 63.04 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00223/8.619, allocations: 2.011 MB / 4.022 GB, free: 62.31 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003575/8.623, allocations: 0.639 MB / 4.023 GB, free: 62.28 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007451/8.624, allocations: 198.9 kB / 4.023 GB, free: 62.28 MB / 0.6511 GB Notification: Performance of SimCode: time 1.182e-06/8.624, allocations: 0 / 4.023 GB, free: 62.28 MB / 0.6511 GB Notification: Performance of Templates: time 0.1243/8.748, allocations: 88.45 MB / 4.109 GB, free: 57.34 MB / 0.6511 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)