Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6843/0.6843, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008702/0.0008703, allocations: 185.2 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.208/1.208, allocations: 221.3 MB / 441.4 MB, free: 4.652 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.0008663/0.0008662, allocations: 90.59 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001699/0.001699, allocations: 279 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.812e-05/2.813e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3616, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.135/4.496, allocations: 2.145 GB / 2.909 GB, free: 181.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/4.497, allocations: 95.94 kB / 2.909 GB, free: 181.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.482/7.978, allocations: 1.244 GB / 4.153 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.232e-06/7.978, allocations: 0 / 4.153 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002584/7.978, allocations: 79.92 kB / 4.153 GB, free: 11.04 MB / 0.7292 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.004778/7.983, allocations: 3.473 MB / 4.156 GB, free: 7.422 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/7.983, allocations: 8.031 kB / 4.156 GB, free: 7.414 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002856/7.983, allocations: 270.2 kB / 4.157 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/7.985, allocations: 0.521 MB / 4.157 GB, free: 6.617 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004705/7.99, allocations: 3.276 MB / 4.16 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.528e-05/7.99, allocations: 159.6 kB / 4.16 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002427/7.99, allocations: 207.9 kB / 4.161 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003126/7.993, allocations: 2.372 MB / 4.163 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.544e-05/7.993, allocations: 0 / 4.163 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001537/7.994, allocations: 84 kB / 4.163 GB, free: 432 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.414e-05/7.994, allocations: 63.64 kB / 4.163 GB, free: 368 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00274/7.996, allocations: 1.826 MB / 4.165 GB, free: 14.53 MB / 0.7448 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.01277/8.009, allocations: 9.832 MB / 4.174 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/8.011, allocations: 1.334 MB / 4.176 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/8.012, allocations: 0.9249 MB / 4.177 GB, free: 2.051 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009335/8.013, allocations: 1.18 MB / 4.178 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/8.013, allocations: 51.5 kB / 4.178 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=113): time 2.805e-06/8.013, allocations: 0 / 4.178 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of matching and sorting (n=115): time 0.3929/8.406, allocations: 4.837 MB / 4.183 GB, free: 61.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.217e-05/8.406, allocations: 291.4 kB / 4.183 GB, free: 61.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004454/8.41, allocations: 2.969 MB / 4.186 GB, free: 61.43 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001887/8.411, allocations: 59.45 kB / 4.186 GB, free: 61.4 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009812/8.412, allocations: 1.403 MB / 4.187 GB, free: 61.12 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002779/8.412, allocations: 396.9 kB / 4.188 GB, free: 60.92 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.074e-05/8.412, allocations: 24 kB / 4.188 GB, free: 60.92 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.04e-05/8.412, allocations: 365.7 kB / 4.188 GB, free: 60.62 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/8.413, allocations: 0.9899 MB / 4.189 GB, free: 60.62 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/8.415, allocations: 1.41 MB / 4.19 GB, free: 60.21 MB / 0.7448 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.004335/8.419, allocations: 2.933 MB / 4.193 GB, free: 59.44 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/8.419, allocations: 4.969 kB / 4.193 GB, free: 59.44 MB / 0.7448 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003434/8.422, allocations: 3.024 MB / 4.196 GB, free: 58.85 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005065/8.423, allocations: 2.928 MB / 4.199 GB, free: 55.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/8.423, allocations: 3.875 kB / 4.199 GB, free: 55.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/8.423, allocations: 15.27 kB / 4.199 GB, free: 55.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009739/8.424, allocations: 255.2 kB / 4.199 GB, free: 55.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002613/8.424, allocations: 0.6161 MB / 4.2 GB, free: 55.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/8.426, allocations: 181 kB / 4.2 GB, free: 55.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/8.426, allocations: 81.67 kB / 4.2 GB, free: 55.21 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/8.426, allocations: 3.594 kB / 4.2 GB, free: 55.21 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003036/8.43, allocations: 3.12 MB / 4.203 GB, free: 54.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/8.43, allocations: 8.406 kB / 4.203 GB, free: 54.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/8.43, allocations: 13.84 kB / 4.203 GB, free: 54.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008361/8.43, allocations: 252.5 kB / 4.203 GB, free: 54.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/8.43, allocations: 9.25 kB / 4.203 GB, free: 54.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/8.432, allocations: 185.8 kB / 4.204 GB, free: 54.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/8.432, allocations: 79.2 kB / 4.204 GB, free: 54.79 MB / 0.7448 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.0003805/8.433, allocations: 386.4 kB / 4.204 GB, free: 54.5 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004187/8.433, allocations: 306.6 kB / 4.204 GB, free: 54.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003044/8.436, allocations: 2.305 MB / 4.207 GB, free: 54.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/8.436, allocations: 15.95 kB / 4.207 GB, free: 54.07 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/8.436, allocations: 0.75 kB / 4.207 GB, free: 54.07 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001976/8.438, allocations: 2.092 MB / 4.209 GB, free: 53.6 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00666/8.445, allocations: 5.552 MB / 4.214 GB, free: 52.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/8.445, allocations: 9.344 kB / 4.214 GB, free: 52.85 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008797/8.446, allocations: 227.7 kB / 4.214 GB, free: 52.85 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-05/8.446, allocations: 12.34 kB / 4.214 GB, free: 52.85 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.419e-05/8.446, allocations: 38.3 kB / 4.214 GB, free: 52.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001949/8.446, allocations: 0.6162 MB / 4.215 GB, free: 52.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/8.446, allocations: 11 kB / 4.215 GB, free: 52.26 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003686/8.45, allocations: 4.355 MB / 4.219 GB, free: 50.81 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/8.451, allocations: 0.6808 MB / 4.22 GB, free: 50.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003128/8.451, allocations: 38.3 kB / 4.22 GB, free: 50.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/8.453, allocations: 149.9 kB / 4.22 GB, free: 50.55 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/8.453, allocations: 152.8 kB / 4.22 GB, free: 50.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.485e-05/8.453, allocations: 53.62 kB / 4.22 GB, free: 50.54 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002717/8.456, allocations: 2.301 MB / 4.223 GB, free: 50.38 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.8e-07/8.456, allocations: 0.5938 kB / 4.223 GB, free: 50.38 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003994/8.46, allocations: 1.467 MB / 4.224 GB, free: 50.38 MB / 0.7448 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) * 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.00841/8.468, allocations: 8.924 MB / 4.233 GB, free: 46.41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005588/8.474, allocations: 5.374 MB / 4.238 GB, free: 44.87 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/8.474, allocations: 5.156 kB / 4.238 GB, free: 44.87 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001643/8.476, allocations: 1.823 MB / 4.24 GB, free: 44.49 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006033/8.482, allocations: 1.616 MB / 4.241 GB, free: 44.47 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007997/8.49, allocations: 5.64 MB / 4.247 GB, free: 43.24 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/8.491, allocations: 2.078 MB / 4.249 GB, free: 42.5 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003374/8.494, allocations: 1.047 MB / 4.25 GB, free: 42.47 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/8.496, allocations: 1.223 MB / 4.251 GB, free: 42.47 MB / 0.7448 GB Notification: Performance of SimCode: time 7.72e-07/8.496, allocations: 1.781 kB / 4.251 GB, free: 42.47 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1573/8.653, allocations: 132.6 MB / 4.38 GB, free: 30.45 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001473/8.653, allocations: 239.7 kB / 4.381 GB, free: 30.12 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.738/14.39, allocations: 6.719 kB / 4.381 GB, free: 30.12 MB / 0.7448 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)