Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002342/0.002343, allocations: 182.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.569/0.569, allocations: 91.98 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.621/1.621, allocations: 223.2 MB / 354.3 MB, free: 12.11 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001108, allocations: 96.22 kB / 427.4 MB, free: 3.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003356, allocations: 8 kB / 0.4983 GB, free: 42.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1596, allocations: 72.31 MB / 0.5689 GB, free: 1.789 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.436/5.596, allocations: 2.136 GB / 2.705 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003399/5.596, allocations: 107.4 kB / 2.705 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.266/8.863, allocations: 0.8863 GB / 3.591 GB, free: 61.44 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.106e-06/8.863, allocations: 3.406 kB / 3.591 GB, free: 61.44 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002932/8.863, allocations: 56.25 kB / 3.591 GB, free: 61.44 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.007841/8.871, allocations: 2.759 MB / 3.594 GB, free: 60.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/8.871, allocations: 12.81 kB / 3.594 GB, free: 60.29 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004673/8.871, allocations: 200.1 kB / 3.594 GB, free: 60.24 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001962/8.873, allocations: 375.4 kB / 3.594 GB, free: 60.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004773/8.878, allocations: 2.062 MB / 3.596 GB, free: 59.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/8.878, allocations: 102.1 kB / 3.597 GB, free: 59.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002906/8.879, allocations: 141.7 kB / 3.597 GB, free: 59.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003131/8.882, allocations: 1.602 MB / 3.598 GB, free: 59.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.588e-05/8.882, allocations: 7.031 kB / 3.598 GB, free: 59.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/8.882, allocations: 56.88 kB / 3.598 GB, free: 59.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.776e-05/8.882, allocations: 46.02 kB / 3.598 GB, free: 59.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002372/8.885, allocations: 1.253 MB / 3.6 GB, free: 59.58 MB / 0.6355 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.01017/8.895, allocations: 6.463 MB / 3.606 GB, free: 57.44 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/8.896, allocations: 0.9197 MB / 3.607 GB, free: 57.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006044/8.897, allocations: 0.6846 MB / 3.607 GB, free: 56.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/8.897, allocations: 50.55 kB / 3.608 GB, free: 56.62 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=83): time 3.878e-06/8.897, allocations: 1.688 kB / 3.608 GB, free: 56.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85): time 0.007775/8.905, allocations: 3.92 MB / 3.611 GB, free: 55.37 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.425e-05/8.905, allocations: 198.8 kB / 3.612 GB, free: 55.14 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003422/8.908, allocations: 1.794 MB / 3.613 GB, free: 54.94 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001661/8.908, allocations: 45.58 kB / 3.613 GB, free: 54.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008506/8.909, allocations: 0.8921 MB / 3.614 GB, free: 54.65 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/8.91, allocations: 287.8 kB / 3.615 GB, free: 54.47 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-05/8.91, allocations: 16.97 kB / 3.615 GB, free: 54.47 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001103/8.91, allocations: 348.5 kB / 3.615 GB, free: 54.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/8.911, allocations: 0.6087 MB / 3.615 GB, free: 54.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/8.912, allocations: 0.866 MB / 3.616 GB, free: 53.92 MB / 0.6355 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.005073/8.917, allocations: 2.433 MB / 3.619 GB, free: 53.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/8.917, allocations: 5.078 kB / 3.619 GB, free: 53.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003549/8.921, allocations: 1.84 MB / 3.62 GB, free: 53.08 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005306/8.921, allocations: 1.665 MB / 3.622 GB, free: 51.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/8.921, allocations: 3.688 kB / 3.622 GB, free: 51.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.534e-05/8.921, allocations: 15 kB / 3.622 GB, free: 51.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007727/8.922, allocations: 175.2 kB / 3.622 GB, free: 51.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-05/8.922, allocations: 10.44 kB / 3.622 GB, free: 51.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/8.924, allocations: 129.9 kB / 3.622 GB, free: 51.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/8.924, allocations: 52.59 kB / 3.622 GB, free: 51.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/8.925, allocations: 3.406 kB / 3.622 GB, free: 51.3 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003/8.928, allocations: 1.841 MB / 3.624 GB, free: 51.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/8.928, allocations: 3.219 kB / 3.624 GB, free: 51.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/8.928, allocations: 9.641 kB / 3.624 GB, free: 51.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008145/8.928, allocations: 179.9 kB / 3.624 GB, free: 51.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.228e-05/8.928, allocations: 13.45 kB / 3.624 GB, free: 51.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/8.931, allocations: 121.7 kB / 3.625 GB, free: 51.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/8.931, allocations: 50.44 kB / 3.625 GB, free: 51.08 MB / 0.6355 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.001706/8.933, allocations: 0.7049 MB / 3.625 GB, free: 50.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004703/8.933, allocations: 199.4 kB / 3.626 GB, free: 50.69 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002609/8.936, allocations: 1.485 MB / 3.627 GB, free: 50.51 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/8.936, allocations: 7.828 kB / 3.627 GB, free: 50.51 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.026e-06/8.936, allocations: 0.7031 kB / 3.627 GB, free: 50.51 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001643/8.937, allocations: 1.555 MB / 3.628 GB, free: 49.96 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005924/8.943, allocations: 3.627 MB / 3.632 GB, free: 49.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/8.943, allocations: 9.375 kB / 3.632 GB, free: 49.37 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007569/8.944, allocations: 166.3 kB / 3.632 GB, free: 49.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.708e-05/8.944, allocations: 7.094 kB / 3.632 GB, free: 49.37 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.067e-05/8.944, allocations: 33.78 kB / 3.632 GB, free: 49.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.357e-05/8.944, allocations: 13.61 kB / 3.632 GB, free: 49.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/8.944, allocations: 7.562 kB / 3.632 GB, free: 49.37 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003533/8.948, allocations: 2.784 MB / 3.635 GB, free: 48.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/8.949, allocations: 460.8 kB / 3.635 GB, free: 48.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000239/8.949, allocations: 22.81 kB / 3.635 GB, free: 48.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/8.95, allocations: 108.2 kB / 3.636 GB, free: 48.18 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002444/8.951, allocations: 93.86 kB / 3.636 GB, free: 48.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/8.951, allocations: 41.95 kB / 3.636 GB, free: 48.18 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00249/8.953, allocations: 1.403 MB / 3.637 GB, free: 48.03 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/8.953, allocations: 0 / 3.637 GB, free: 48.03 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003731/8.957, allocations: 0.9989 MB / 3.638 GB, free: 47.99 MB / 0.6355 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.medium.Xi[1],vol.dynBal.U,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.01002/8.967, allocations: 6.677 MB / 3.645 GB, free: 44.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004862/8.972, allocations: 3.047 MB / 3.648 GB, free: 44.04 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/8.972, allocations: 3.219 kB / 3.648 GB, free: 44.04 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001608/8.974, allocations: 1.01 MB / 3.648 GB, free: 43.85 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006629/8.98, allocations: 1.002 MB / 3.649 GB, free: 43.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/8.993, allocations: 7.816 MB / 3.657 GB, free: 39.17 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001473/8.995, allocations: 1.556 MB / 3.659 GB, free: 38.45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002942/8.998, allocations: 441.8 kB / 3.659 GB, free: 38.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001402/8.999, allocations: 0.7713 MB / 3.66 GB, free: 38.42 MB / 0.6355 GB Notification: Performance of SimCode: time 1.342e-06/8.999, allocations: 0 / 3.66 GB, free: 38.42 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.132/9.131, allocations: 82.97 MB / 3.741 GB, free: 34.56 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/9.131, allocations: 241 kB / 3.741 GB, free: 34.32 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.758/13.89, allocations: 0 / 3.741 GB, free: 34.32 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)