Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.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.CoolingAndHeating,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",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.366/1.366, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001124/0.001124, allocations: 169.3 kB / 326.5 MB, free: 2.258 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.806/1.806, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0009866/0.0009867, allocations: 94.88 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003351, allocations: 11.25 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2167, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.932/5.149, allocations: 2.461 GB / 3.361 GB, free: 94.45 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/5.149, allocations: 104.6 kB / 3.361 GB, free: 94.34 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.614/9.763, allocations: 1.208 GB / 4.57 GB, free: 102.1 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.625e-06/9.763, allocations: 0 / 4.57 GB, free: 102.1 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0006766/9.764, allocations: 88.2 kB / 4.57 GB, free: 102.1 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.01442/9.778, allocations: 4.329 MB / 4.574 GB, free: 100.1 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/9.778, allocations: 10.16 kB / 4.574 GB, free: 100.1 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001423/9.78, allocations: 288.8 kB / 4.574 GB, free: 100 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00354/9.783, allocations: 0.5399 MB / 4.575 GB, free: 99.82 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01062/9.794, allocations: 3.411 MB / 4.578 GB, free: 99.21 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002533/9.794, allocations: 162.6 kB / 4.578 GB, free: 99.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001039/9.795, allocations: 227.2 kB / 4.578 GB, free: 99.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007314/9.803, allocations: 2.587 MB / 4.581 GB, free: 98.91 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.953e-05/9.803, allocations: 5.859 kB / 4.581 GB, free: 98.91 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002569/9.803, allocations: 86.06 kB / 4.581 GB, free: 98.91 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-05/9.803, allocations: 75.56 kB / 4.581 GB, free: 98.91 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003535/9.807, allocations: 2.022 MB / 4.583 GB, free: 98.89 MB / 0.9167 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.01582/9.822, allocations: 10.5 MB / 4.593 GB, free: 95.49 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/9.825, allocations: 1.537 MB / 4.595 GB, free: 95.45 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008458/9.825, allocations: 1.184 MB / 4.596 GB, free: 94.14 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/9.825, allocations: 53.56 kB / 4.596 GB, free: 94.1 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=126): time 3.847e-06/9.825, allocations: 0 / 4.596 GB, free: 94.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=134): time 0.01143/9.837, allocations: 6.782 MB / 4.603 GB, free: 92 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/9.837, allocations: 339.6 kB / 4.603 GB, free: 91.62 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005112/9.842, allocations: 3.097 MB / 4.606 GB, free: 91.39 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003767/9.843, allocations: 62.52 kB / 4.606 GB, free: 91.36 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001157/9.844, allocations: 1.472 MB / 4.608 GB, free: 90.98 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004287/9.844, allocations: 460 kB / 4.608 GB, free: 90.69 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.332e-05/9.844, allocations: 29.12 kB / 4.608 GB, free: 90.69 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001097/9.844, allocations: 368.5 kB / 4.608 GB, free: 90.39 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/9.846, allocations: 1.076 MB / 4.609 GB, free: 90.38 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/9.848, allocations: 1.524 MB / 4.611 GB, free: 89.96 MB / 0.9167 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.006764/9.854, allocations: 4.266 MB / 4.615 GB, free: 89.07 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/9.854, allocations: 0 / 4.615 GB, free: 89.07 MB / 0.9167 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004904/9.859, allocations: 3.318 MB / 4.618 GB, free: 88.45 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000749/9.86, allocations: 2.93 MB / 4.621 GB, free: 85.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/9.86, allocations: 13.42 kB / 4.621 GB, free: 85.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004387/9.861, allocations: 145.4 kB / 4.621 GB, free: 85.38 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/9.862, allocations: 264.5 kB / 4.622 GB, free: 85.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000954/9.863, allocations: 1.287 MB / 4.623 GB, free: 84.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003781/9.866, allocations: 206.9 kB / 4.623 GB, free: 84.33 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003551/9.867, allocations: 86.81 kB / 4.623 GB, free: 84.33 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/9.867, allocations: 3.031 kB / 4.623 GB, free: 84.33 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005105/9.872, allocations: 3.409 MB / 4.626 GB, free: 83.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/9.872, allocations: 10.23 kB / 4.626 GB, free: 83.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004839/9.872, allocations: 142.5 kB / 4.627 GB, free: 83.88 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/9.873, allocations: 262.8 kB / 4.627 GB, free: 83.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008274/9.874, allocations: 1.301 MB / 4.628 GB, free: 82.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003974/9.878, allocations: 189.6 kB / 4.628 GB, free: 82.83 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003984/9.879, allocations: 85.92 kB / 4.628 GB, free: 82.83 MB / 0.9167 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: 8 (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,conCoo.I.trigger_internal,conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.003554/9.882, allocations: 1.121 MB / 4.629 GB, free: 82.45 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001459/9.884, allocations: 327.3 kB / 4.63 GB, free: 82.28 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005363/9.889, allocations: 2.545 MB / 4.632 GB, free: 81.98 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-05/9.889, allocations: 24.75 kB / 4.632 GB, free: 81.98 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/9.889, allocations: 0 / 4.632 GB, free: 81.98 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002798/9.892, allocations: 2.29 MB / 4.635 GB, free: 81.51 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/9.907, allocations: 5.979 MB / 4.64 GB, free: 80.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/9.907, allocations: 3.844 kB / 4.64 GB, free: 80.74 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/9.908, allocations: 273.6 kB / 4.641 GB, free: 80.74 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-05/9.908, allocations: 12.38 kB / 4.641 GB, free: 80.74 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001646/9.909, allocations: 50.77 kB / 4.641 GB, free: 80.74 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.344e-05/9.909, allocations: 6.844 kB / 4.641 GB, free: 80.74 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/9.909, allocations: 10.56 kB / 4.641 GB, free: 80.74 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006031/9.915, allocations: 4.701 MB / 4.645 GB, free: 79.29 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00243/9.917, allocations: 0.7098 MB / 4.646 GB, free: 79.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001057/9.918, allocations: 48.34 kB / 4.646 GB, free: 79.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002578/9.921, allocations: 171.6 kB / 4.646 GB, free: 79.02 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003436/9.921, allocations: 162.1 kB / 4.646 GB, free: 79.01 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001763/9.921, allocations: 59.62 kB / 4.646 GB, free: 79.01 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.005449/9.927, allocations: 2.399 MB / 4.649 GB, free: 78.87 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.693e-06/9.927, allocations: 0 / 4.649 GB, free: 78.87 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.007651/9.934, allocations: 1.51 MB / 4.65 GB, free: 78.8 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (conHea.I.y,vol.dynBal.U,vol.dynBal.mXi[1],conCoo.I.y,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 (132): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * 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.01216/9.947, allocations: 9.188 MB / 4.659 GB, free: 74.83 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.007219/9.954, allocations: 5.603 MB / 4.665 GB, free: 73.29 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-05/9.954, allocations: 3 kB / 4.665 GB, free: 73.29 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002279/9.956, allocations: 1.91 MB / 4.667 GB, free: 72.92 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008699/9.965, allocations: 1.628 MB / 4.668 GB, free: 72.89 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02152/9.987, allocations: 12.82 MB / 4.681 GB, free: 65.29 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00306/9.99, allocations: 2.155 MB / 4.683 GB, free: 64.55 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004118/9.994, allocations: 0.6378 MB / 4.683 GB, free: 64.52 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002467/9.996, allocations: 1.366 MB / 4.685 GB, free: 64.51 MB / 0.9167 GB Notification: Performance of SimCode: time 1.663e-06/9.996, allocations: 2.969 kB / 4.685 GB, free: 64.51 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1825/10.18, allocations: 126 MB / 4.808 GB, free: 0.7812 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/10.18, allocations: 273.2 kB / 4.808 GB, free: 440 kB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.492/16.67, allocations: 6.438 kB / 4.808 GB, free: 436 kB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)