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.7866/0.7866, allocations: 143.3 MB / 158.3 MB, free: 5.785 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 175.5 kB / 191.5 MB, free: 5.77 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.442/1.442, allocations: 223.2 MB / 447.7 MB, free: 6.57 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.0009169/0.0009169, allocations: 96.25 kB / 0.5188 GB, free: 2.918 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001728/0.001728, allocations: 274.6 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004191/0.0004192, allocations: 16 kB / 0.693 GB, free: 2.215 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.374, allocations: 82.78 MB / 0.7738 GB, free: 26.19 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.045/5.419, allocations: 2.145 GB / 2.919 GB, free: 153.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/5.419, allocations: 106.3 kB / 2.919 GB, free: 153.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.747/10.17, allocations: 1.246 GB / 4.165 GB, free: 60.92 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.396e-06/10.17, allocations: 0 / 4.165 GB, free: 60.92 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0007221/10.17, allocations: 78.86 kB / 4.165 GB, free: 60.92 MB / 0.7448 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.01595/10.18, allocations: 4.134 MB / 4.169 GB, free: 59.69 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.35e-05/10.18, allocations: 10.3 kB / 4.169 GB, free: 59.69 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001522/10.18, allocations: 272.2 kB / 4.17 GB, free: 59.64 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003631/10.19, allocations: 0.5112 MB / 4.17 GB, free: 59.45 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/10.2, allocations: 3.306 MB / 4.173 GB, free: 59 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/10.2, allocations: 155.3 kB / 4.173 GB, free: 59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005667/10.2, allocations: 207.2 kB / 4.174 GB, free: 59 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004549/10.2, allocations: 2.416 MB / 4.176 GB, free: 58.8 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.317e-05/10.2, allocations: 3.125 kB / 4.176 GB, free: 58.8 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/10.2, allocations: 82.23 kB / 4.176 GB, free: 58.8 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.674e-05/10.2, allocations: 72 kB / 4.176 GB, free: 58.79 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00305/10.21, allocations: 1.902 MB / 4.178 GB, free: 58.77 MB / 0.7448 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.01701/10.22, allocations: 9.827 MB / 4.188 GB, free: 55.74 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0023/10.23, allocations: 1.373 MB / 4.189 GB, free: 55.71 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008828/10.23, allocations: 1.176 MB / 4.19 GB, free: 54.39 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/10.23, allocations: 51.16 kB / 4.19 GB, free: 54.36 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=113): time 3.626e-06/10.23, allocations: 2.438 kB / 4.19 GB, free: 54.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=115): time 0.01163/10.24, allocations: 6.219 MB / 4.196 GB, free: 52.31 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/10.24, allocations: 286.3 kB / 4.196 GB, free: 52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005242/10.25, allocations: 3.006 MB / 4.199 GB, free: 51.77 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003599/10.25, allocations: 56.55 kB / 4.199 GB, free: 51.74 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.00123/10.25, allocations: 1.408 MB / 4.201 GB, free: 51.38 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.00044/10.25, allocations: 389.6 kB / 4.201 GB, free: 51.13 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.874e-05/10.25, allocations: 26.28 kB / 4.201 GB, free: 51.13 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001109/10.25, allocations: 366.7 kB / 4.202 GB, free: 50.83 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/10.25, allocations: 1.018 MB / 4.203 GB, free: 50.83 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/10.25, allocations: 1.438 MB / 4.204 GB, free: 50.43 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.005117/10.26, allocations: 2.963 MB / 4.207 GB, free: 49.65 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/10.26, allocations: 3.75 kB / 4.207 GB, free: 49.65 MB / 0.7448 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004606/10.26, allocations: 3.084 MB / 4.21 GB, free: 49.07 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000652/10.26, allocations: 2.913 MB / 4.213 GB, free: 46.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/10.26, allocations: 3.5 kB / 4.213 GB, free: 46.03 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.424e-05/10.26, allocations: 16.61 kB / 4.213 GB, free: 46.03 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/10.26, allocations: 255.7 kB / 4.213 GB, free: 46.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003348/10.26, allocations: 0.6143 MB / 4.214 GB, free: 45.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003093/10.27, allocations: 181.3 kB / 4.214 GB, free: 45.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001826/10.27, allocations: 81.45 kB / 4.214 GB, free: 45.43 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/10.27, allocations: 5.375 kB / 4.214 GB, free: 45.43 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003713/10.27, allocations: 3.183 MB / 4.217 GB, free: 45.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/10.27, allocations: 6.156 kB / 4.217 GB, free: 45.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/10.27, allocations: 12.72 kB / 4.217 GB, free: 45.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009007/10.27, allocations: 246.6 kB / 4.217 GB, free: 45.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/10.27, allocations: 19.92 kB / 4.217 GB, free: 45.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003035/10.27, allocations: 178.9 kB / 4.217 GB, free: 45 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/10.27, allocations: 80 kB / 4.217 GB, free: 45 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 () * 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.002347/10.28, allocations: 1.093 MB / 4.219 GB, free: 44.62 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000965/10.28, allocations: 308.7 kB / 4.219 GB, free: 44.46 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003664/10.28, allocations: 2.366 MB / 4.221 GB, free: 44.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/10.28, allocations: 13.62 kB / 4.221 GB, free: 44.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/10.28, allocations: 3.656 kB / 4.221 GB, free: 44.18 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002293/10.28, allocations: 2.141 MB / 4.223 GB, free: 43.71 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009743/10.29, allocations: 5.618 MB / 4.229 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/10.29, allocations: 7.781 kB / 4.229 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009743/10.29, allocations: 221 kB / 4.229 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-05/10.29, allocations: 13.31 kB / 4.229 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.854e-05/10.29, allocations: 43.12 kB / 4.229 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002617/10.29, allocations: 0.6087 MB / 4.23 GB, free: 42.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/10.29, allocations: 5.844 kB / 4.23 GB, free: 42.37 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005263/10.3, allocations: 4.448 MB / 4.234 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002489/10.3, allocations: 0.6873 MB / 4.235 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001226/10.3, allocations: 37.19 kB / 4.235 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002653/10.31, allocations: 150.2 kB / 4.235 GB, free: 40.63 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003599/10.31, allocations: 148.4 kB / 4.235 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001757/10.31, allocations: 59.86 kB / 4.235 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.005959/10.31, allocations: 2.335 MB / 4.237 GB, free: 40.48 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.51e-07/10.31, allocations: 2.375 kB / 4.237 GB, free: 40.48 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.009797/10.32, allocations: 1.465 MB / 4.239 GB, free: 40.46 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) * 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.01316/10.34, allocations: 8.997 MB / 4.247 GB, free: 36.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.008112/10.34, allocations: 5.349 MB / 4.253 GB, free: 34.97 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/10.34, allocations: 2.844 kB / 4.253 GB, free: 34.97 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.003062/10.35, allocations: 1.856 MB / 4.255 GB, free: 34.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009688/10.36, allocations: 1.599 MB / 4.256 GB, free: 34.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02483/10.38, allocations: 12.23 MB / 4.268 GB, free: 27.28 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003597/10.39, allocations: 2.074 MB / 4.27 GB, free: 26.55 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004488/10.39, allocations: 0.6407 MB / 4.271 GB, free: 26.52 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002639/10.39, allocations: 1.27 MB / 4.272 GB, free: 26.52 MB / 0.7448 GB Notification: Performance of SimCode: time 1.443e-06/10.39, allocations: 0 / 4.272 GB, free: 26.52 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2048/10.6, allocations: 121.9 MB / 4.391 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/10.6, allocations: 290.3 kB / 4.391 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.738/17.34, allocations: 0 / 4.391 GB, free: 12.85 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)