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.8975/0.8975, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001047/0.001047, allocations: 176.8 kB / 182.2 MB, free: 9.438 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.611/1.611, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.0008129/0.0008128, allocations: 93.72 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001754/0.001754, allocations: 282.4 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.464e-05/2.467e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5349/0.5349, allocations: 82.77 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.792/6.327, allocations: 2.144 GB / 2.902 GB, free: 195.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/6.328, allocations: 95.94 kB / 2.902 GB, free: 195.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.464/10.79, allocations: 1.235 GB / 4.136 GB, free: 44.14 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.683e-06/10.79, allocations: 0 / 4.136 GB, free: 44.14 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000555/10.79, allocations: 81.72 kB / 4.136 GB, free: 44.07 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.009889/10.8, allocations: 3.48 MB / 4.14 GB, free: 40.48 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/10.8, allocations: 16.02 kB / 4.14 GB, free: 40.46 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00358/10.81, allocations: 0.5121 MB / 4.14 GB, free: 39.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007875/10.81, allocations: 3.279 MB / 4.144 GB, free: 36.69 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/10.81, allocations: 64 kB / 4.144 GB, free: 36.62 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007267/10.81, allocations: 128 kB / 4.144 GB, free: 36.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003574/10.82, allocations: 1.726 MB / 4.145 GB, free: 34.77 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004374/10.82, allocations: 2.09 MB / 4.147 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.68e-05/10.82, allocations: 5.938 kB / 4.147 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002664/10.82, allocations: 4 kB / 4.147 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.16e-05/10.82, allocations: 71.62 kB / 4.147 GB, free: 32.55 MB / 0.7292 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.01425/10.84, allocations: 9.404 MB / 4.157 GB, free: 22.95 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/10.84, allocations: 1.293 MB / 4.158 GB, free: 21.65 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009912/10.84, allocations: 0.8977 MB / 4.159 GB, free: 20.75 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007478/10.84, allocations: 1.178 MB / 4.16 GB, free: 19.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/10.84, allocations: 51.81 kB / 4.16 GB, free: 19.26 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=113): time 3.056e-06/10.84, allocations: 0 / 4.16 GB, free: 19.26 MB / 0.7292 GB Notification: Performance of matching and sorting (n=115): time 0.008084/10.85, allocations: 4.215 MB / 4.164 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.822e-05/10.85, allocations: 290.3 kB / 4.164 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004582/10.85, allocations: 2.54 MB / 4.167 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002731/10.85, allocations: 37.64 kB / 4.167 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001007/10.85, allocations: 1.41 MB / 4.168 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003254/10.86, allocations: 382.3 kB / 4.169 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.842e-05/10.86, allocations: 0 / 4.169 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.891e-05/10.86, allocations: 365.2 kB / 4.169 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/10.86, allocations: 0.9678 MB / 4.17 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001301/10.86, allocations: 1.368 MB / 4.171 GB, free: 7.426 MB / 0.7292 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.004587/10.86, allocations: 2.521 MB / 4.174 GB, free: 4.859 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/10.86, allocations: 0 / 4.174 GB, free: 4.859 MB / 0.7292 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004139/10.87, allocations: 2.567 MB / 4.176 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008898/10.87, allocations: 2.874 MB / 4.179 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/10.87, allocations: 10.94 kB / 4.179 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.81e-05/10.87, allocations: 12 kB / 4.179 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/10.87, allocations: 251.6 kB / 4.179 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005227/10.87, allocations: 0.624 MB / 4.18 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002702/10.87, allocations: 151.4 kB / 4.18 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002742/10.87, allocations: 80.83 kB / 4.18 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/10.87, allocations: 7.953 kB / 4.18 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004331/10.88, allocations: 2.502 MB / 4.183 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/10.88, allocations: 8.031 kB / 4.183 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/10.88, allocations: 15.98 kB / 4.183 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/10.88, allocations: 243.6 kB / 4.183 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.479e-05/10.88, allocations: 15.94 kB / 4.183 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002736/10.88, allocations: 143.7 kB / 4.183 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002538/10.88, allocations: 79.97 kB / 4.183 GB, free: 11.07 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.000663/10.88, allocations: 332.7 kB / 4.183 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003942/10.89, allocations: 1.899 MB / 4.185 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008861/10.89, allocations: 280.5 kB / 4.186 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004165/10.89, allocations: 2.018 MB / 4.188 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/10.89, allocations: 12 kB / 4.188 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/10.89, allocations: 0 / 4.188 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002841/10.89, allocations: 1.844 MB / 4.189 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5632/11.46, allocations: 5.044 MB / 4.194 GB, free: 73.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.931e-05/11.46, allocations: 6.938 kB / 4.194 GB, free: 73.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/11.46, allocations: 221.2 kB / 4.194 GB, free: 73.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.649e-05/11.46, allocations: 10.5 kB / 4.194 GB, free: 73.77 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001679/11.46, allocations: 29.62 kB / 4.195 GB, free: 73.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002914/11.46, allocations: 0.607 MB / 4.195 GB, free: 73.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.404e-05/11.46, allocations: 8.469 kB / 4.195 GB, free: 73.19 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006111/11.46, allocations: 3.973 MB / 4.199 GB, free: 72.2 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001921/11.47, allocations: 0.6442 MB / 4.2 GB, free: 72.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004242/11.47, allocations: 19.55 kB / 4.2 GB, free: 72.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/11.47, allocations: 129.3 kB / 4.2 GB, free: 72.11 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003505/11.47, allocations: 151.2 kB / 4.2 GB, free: 72.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/11.47, allocations: 58.42 kB / 4.2 GB, free: 72.1 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003219/11.47, allocations: 1.928 MB / 4.202 GB, free: 71.96 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.01e-07/11.47, allocations: 0 / 4.202 GB, free: 71.96 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004526/11.48, allocations: 1.346 MB / 4.203 GB, free: 71.96 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.00928/11.49, allocations: 8.706 MB / 4.212 GB, free: 68.37 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005718/11.49, allocations: 5.252 MB / 4.217 GB, free: 66.82 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/11.49, allocations: 3.219 kB / 4.217 GB, free: 66.82 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002178/11.49, allocations: 1.79 MB / 4.219 GB, free: 66.45 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007284/11.5, allocations: 1.373 MB / 4.22 GB, free: 66.44 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/11.51, allocations: 5.469 MB / 4.225 GB, free: 65.2 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001485/11.51, allocations: 2.073 MB / 4.227 GB, free: 64.46 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004269/11.52, allocations: 0.964 MB / 4.228 GB, free: 64.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0015/11.52, allocations: 1.197 MB / 4.229 GB, free: 64.43 MB / 0.7448 GB Notification: Performance of SimCode: time 1.593e-06/11.52, allocations: 0 / 4.229 GB, free: 64.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.148/11.67, allocations: 98.82 MB / 4.326 GB, free: 58.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/11.67, allocations: 196.8 kB / 4.326 GB, free: 58.23 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.576/17.24, allocations: 4 kB / 4.326 GB, free: 58.23 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)