Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.352/1.352, allocations: 251.9 MB / 266.8 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001268/0.001268, allocations: 184.3 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.857/1.857, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 99.23 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003922, allocations: 9.469 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2168, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.111/5.328, allocations: 2.459 GB / 3.359 GB, free: 49.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/5.328, allocations: 103.1 kB / 3.359 GB, free: 49.05 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.276/8.604, allocations: 0.8519 GB / 4.211 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.124e-06/8.604, allocations: 0 / 4.211 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003919/8.605, allocations: 59.02 kB / 4.211 GB, free: 128.6 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.009922/8.615, allocations: 2.76 MB / 4.214 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.103e-05/8.615, allocations: 10.81 kB / 4.214 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001193/8.616, allocations: 195.8 kB / 4.214 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003308/8.619, allocations: 390 kB / 4.214 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008095/8.627, allocations: 2.054 MB / 4.216 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/8.628, allocations: 105.5 kB / 4.216 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000811/8.628, allocations: 145.9 kB / 4.217 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004474/8.633, allocations: 1.604 MB / 4.218 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.035e-05/8.633, allocations: 3.953 kB / 4.218 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/8.633, allocations: 56.84 kB / 4.218 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.07e-05/8.633, allocations: 48.92 kB / 4.218 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/8.636, allocations: 1.246 MB / 4.22 GB, free: 126.6 MB / 0.8855 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.009001/8.645, allocations: 6.469 MB / 4.226 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/8.646, allocations: 0.9144 MB / 4.227 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000537/8.646, allocations: 0.6939 MB / 4.227 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/8.646, allocations: 44.44 kB / 4.227 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=83): time 2.585e-06/8.646, allocations: 0 / 4.227 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85): time 0.006149/8.652, allocations: 3.914 MB / 4.231 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/8.653, allocations: 199.2 kB / 4.231 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002444/8.655, allocations: 1.795 MB / 4.233 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001168/8.655, allocations: 44.05 kB / 4.233 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006377/8.656, allocations: 0.8948 MB / 4.234 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/8.656, allocations: 289 kB / 4.234 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/8.656, allocations: 19.31 kB / 4.234 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.371e-05/8.656, allocations: 347.8 kB / 4.235 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007499/8.657, allocations: 0.6032 MB / 4.235 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009225/8.658, allocations: 0.8755 MB / 4.236 GB, free: 120.8 MB / 0.8855 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.00396/8.662, allocations: 2.405 MB / 4.239 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/8.662, allocations: 3.953 kB / 4.239 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002507/8.664, allocations: 1.837 MB / 4.24 GB, free: 120 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004151/8.665, allocations: 1.658 MB / 4.242 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/8.665, allocations: 3.656 kB / 4.242 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/8.665, allocations: 11.11 kB / 4.242 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00072/8.666, allocations: 178.5 kB / 4.242 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/8.666, allocations: 10.66 kB / 4.242 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/8.667, allocations: 117.9 kB / 4.242 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/8.667, allocations: 52.72 kB / 4.242 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/8.667, allocations: 3.75 kB / 4.242 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00217/8.67, allocations: 1.841 MB / 4.244 GB, free: 118 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/8.67, allocations: 3.719 kB / 4.244 GB, free: 118 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.437e-06/8.67, allocations: 11.08 kB / 4.244 GB, free: 118 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006683/8.67, allocations: 180.4 kB / 4.244 GB, free: 118 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/8.67, allocations: 14.28 kB / 4.244 GB, free: 118 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/8.672, allocations: 123.2 kB / 4.244 GB, free: 118 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.502e-05/8.672, allocations: 46.97 kB / 4.244 GB, free: 118 MB / 0.8855 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: 16 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.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 (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001305/8.673, allocations: 0.7146 MB / 4.245 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/8.674, allocations: 199.8 kB / 4.245 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/8.676, allocations: 1.482 MB / 4.247 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/8.676, allocations: 7.25 kB / 4.247 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/8.676, allocations: 0 / 4.247 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001547/8.677, allocations: 1.557 MB / 4.248 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005228/8.683, allocations: 3.632 MB / 4.252 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/8.683, allocations: 3.375 kB / 4.252 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007423/8.683, allocations: 168.2 kB / 4.252 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/8.683, allocations: 6.969 kB / 4.252 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.151e-05/8.683, allocations: 37.02 kB / 4.252 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.147e-05/8.684, allocations: 11.91 kB / 4.252 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/8.684, allocations: 3.531 kB / 4.252 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002924/8.686, allocations: 2.797 MB / 4.255 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/8.687, allocations: 460.6 kB / 4.255 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002278/8.688, allocations: 22.81 kB / 4.255 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/8.689, allocations: 104.3 kB / 4.255 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/8.689, allocations: 100.7 kB / 4.255 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.377e-05/8.689, allocations: 37.91 kB / 4.256 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001977/8.691, allocations: 1.411 MB / 4.257 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/8.691, allocations: 0 / 4.257 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00303/8.694, allocations: 0.9998 MB / 4.258 GB, free: 114.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006659/8.701, allocations: 6.686 MB / 4.264 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003433/8.704, allocations: 3.052 MB / 4.267 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/8.704, allocations: 3.953 kB / 4.267 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/8.705, allocations: 1.007 MB / 4.268 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004886/8.71, allocations: 1.014 MB / 4.269 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009489/8.72, allocations: 7.82 MB / 4.277 GB, free: 105 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/8.721, allocations: 1.568 MB / 4.279 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002064/8.723, allocations: 437.6 kB / 4.279 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009516/8.724, allocations: 0.7709 MB / 4.28 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of SimCode: time 9.52e-07/8.724, allocations: 0 / 4.28 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1277/8.852, allocations: 83.33 MB / 4.361 GB, free: 54.99 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/8.852, allocations: 243.6 kB / 4.361 GB, free: 54.75 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.717/13.57, allocations: 64 / 4.361 GB, free: 54.75 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)