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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.001513/0.001513, allocations: 177.4 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5056/0.5056, allocations: 90.82 MB / 104.5 MB, free: 9.793 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.333/1.333, allocations: 221.3 MB / 348.3 MB, free: 0.4961 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.0009369/0.0009368, allocations: 103 kB / 421.2 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.138e-05/3.179e-05, allocations: 4 kB / 0.4896 GB, free: 5.367 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4182, allocations: 72.31 MB / 0.5602 GB, free: 40.46 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.4/5.818, allocations: 2.138 GB / 2.698 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00036/5.818, allocations: 95.33 kB / 2.698 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.571/10.39, allocations: 1.248 GB / 3.946 GB, free: 3.562 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.944e-06/10.39, allocations: 0 / 3.946 GB, free: 3.562 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0005777/10.39, allocations: 75.98 kB / 3.946 GB, free: 3.488 MB / 0.6511 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.5163/10.91, allocations: 3.471 MB / 3.949 GB, free: 44.61 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.554e-05/10.91, allocations: 12.52 kB / 3.949 GB, free: 44.61 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004431/10.91, allocations: 0.5083 MB / 3.95 GB, free: 44.42 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00933/10.92, allocations: 3.299 MB / 3.953 GB, free: 43.99 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002253/10.92, allocations: 151.8 kB / 3.953 GB, free: 43.98 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005577/10.92, allocations: 209.8 kB / 3.953 GB, free: 43.98 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004825/10.93, allocations: 2.368 MB / 3.956 GB, free: 43.78 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.1e-05/10.93, allocations: 6.438 kB / 3.956 GB, free: 43.78 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/10.93, allocations: 81.47 kB / 3.956 GB, free: 43.78 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.938e-05/10.93, allocations: 66.73 kB / 3.956 GB, free: 43.77 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003106/10.93, allocations: 1.829 MB / 3.957 GB, free: 43.76 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.01473/10.94, allocations: 9.829 MB / 3.967 GB, free: 40.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/10.95, allocations: 1.328 MB / 3.968 GB, free: 40.78 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00098/10.95, allocations: 0.9236 MB / 3.969 GB, free: 40.77 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008145/10.95, allocations: 1.186 MB / 3.97 GB, free: 39.45 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/10.95, allocations: 46.12 kB / 3.97 GB, free: 39.41 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=113): time 3.066e-06/10.95, allocations: 0 / 3.97 GB, free: 39.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=115): time 0.008109/10.96, allocations: 4.851 MB / 3.975 GB, free: 38.01 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.348e-05/10.96, allocations: 284.6 kB / 3.975 GB, free: 37.69 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005115/10.96, allocations: 2.972 MB / 3.978 GB, free: 37.46 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003721/10.96, allocations: 56.33 kB / 3.978 GB, free: 37.43 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001115/10.96, allocations: 1.405 MB / 3.98 GB, free: 37.15 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004323/10.96, allocations: 398.7 kB / 3.98 GB, free: 36.95 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.831e-05/10.96, allocations: 29.12 kB / 3.98 GB, free: 36.95 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.768e-05/10.96, allocations: 365.2 kB / 3.981 GB, free: 36.64 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/10.96, allocations: 0.9865 MB / 3.981 GB, free: 36.64 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/10.97, allocations: 1.406 MB / 3.983 GB, free: 36.26 MB / 0.6511 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.004973/10.97, allocations: 2.935 MB / 3.986 GB, free: 35.48 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/10.97, allocations: 3.188 kB / 3.986 GB, free: 35.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004103/10.97, allocations: 3.023 MB / 3.989 GB, free: 34.89 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006255/10.98, allocations: 2.927 MB / 3.992 GB, free: 31.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/10.98, allocations: 6.938 kB / 3.992 GB, free: 31.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/10.98, allocations: 16.75 kB / 3.992 GB, free: 31.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/10.98, allocations: 245.6 kB / 3.992 GB, free: 31.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003093/10.98, allocations: 0.6225 MB / 3.992 GB, free: 31.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00279/10.98, allocations: 184.8 kB / 3.993 GB, free: 31.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001783/10.98, allocations: 83.02 kB / 3.993 GB, free: 31.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/10.98, allocations: 3.688 kB / 3.993 GB, free: 31.25 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003505/10.98, allocations: 3.119 MB / 3.996 GB, free: 30.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/10.98, allocations: 5.719 kB / 3.996 GB, free: 30.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/10.98, allocations: 14 kB / 3.996 GB, free: 30.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008793/10.98, allocations: 252.7 kB / 3.996 GB, free: 30.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/10.98, allocations: 15.38 kB / 3.996 GB, free: 30.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00285/10.99, allocations: 185.6 kB / 3.996 GB, free: 30.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/10.99, allocations: 77.69 kB / 3.996 GB, free: 30.84 MB / 0.6511 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 () * 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.0005025/10.99, allocations: 381.6 kB / 3.997 GB, free: 30.54 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005631/10.99, allocations: 310 kB / 3.997 GB, free: 30.38 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003484/10.99, allocations: 2.307 MB / 3.999 GB, free: 30.09 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/10.99, allocations: 17.02 kB / 3.999 GB, free: 30.09 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/10.99, allocations: 1.562 kB / 3.999 GB, free: 30.09 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002083/10.99, allocations: 2.084 MB / 4.001 GB, free: 29.63 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008444/11, allocations: 5.562 MB / 4.007 GB, free: 28.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/11, allocations: 7.25 kB / 4.007 GB, free: 28.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009167/11, allocations: 219.9 kB / 4.007 GB, free: 28.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.739e-05/11, allocations: 15.5 kB / 4.007 GB, free: 28.88 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-05/11, allocations: 41.42 kB / 4.007 GB, free: 28.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002403/11, allocations: 0.6097 MB / 4.008 GB, free: 28.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/11, allocations: 12.98 kB / 4.008 GB, free: 28.29 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004451/11.01, allocations: 4.331 MB / 4.012 GB, free: 26.84 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001914/11.01, allocations: 0.6872 MB / 4.012 GB, free: 26.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004215/11.01, allocations: 36.44 kB / 4.012 GB, free: 26.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/11.01, allocations: 153.5 kB / 4.013 GB, free: 26.57 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002896/11.01, allocations: 158.1 kB / 4.013 GB, free: 26.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/11.01, allocations: 51.7 kB / 4.013 GB, free: 26.57 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003789/11.02, allocations: 2.307 MB / 4.015 GB, free: 26.41 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.01e-07/11.02, allocations: 0 / 4.015 GB, free: 26.41 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005728/11.02, allocations: 1.464 MB / 4.016 GB, free: 26.4 MB / 0.6511 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.medium.Xi[1],vol.dynBal.U,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) * 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.004496/11.03, allocations: 2.876 MB / 4.019 GB, free: 25.47 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005814/11.03, allocations: 5.375 MB / 4.025 GB, free: 23.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/11.03, allocations: 0.5938 kB / 4.025 GB, free: 23.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001975/11.03, allocations: 1.819 MB / 4.026 GB, free: 23.55 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007967/11.04, allocations: 1.584 MB / 4.028 GB, free: 23.53 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008856/11.05, allocations: 4.891 MB / 4.033 GB, free: 22.36 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001502/11.05, allocations: 2.077 MB / 4.035 GB, free: 21.62 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.004404/11.06, allocations: 1.047 MB / 4.036 GB, free: 21.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/11.06, allocations: 145.2 kB / 4.036 GB, free: 21.59 MB / 0.6511 GB Notification: Performance of SimCode: time 1.152e-06/11.06, allocations: 0 / 4.036 GB, free: 21.59 MB / 0.6511 GB Notification: Performance of Templates: time 0.1394/11.2, allocations: 97.54 MB / 4.131 GB, free: 15.03 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)