Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.CoolingOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",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.8216/0.8216, allocations: 143.4 MB / 158.3 MB, free: 5.805 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.001171/0.00117, allocations: 185 kB / 191.5 MB, free: 5.773 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.416/1.416, allocations: 223.2 MB / 447.7 MB, free: 6.582 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.0009211/0.0009211, allocations: 96.31 kB / 0.5188 GB, free: 2.938 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001729/0.00173, allocations: 282.8 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.0004629, allocations: 16 kB / 0.693 GB, free: 2.199 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3711, allocations: 82.76 MB / 0.7738 GB, free: 26.19 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.91/5.281, allocations: 2.143 GB / 2.917 GB, free: 155.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/5.282, allocations: 108.7 kB / 2.917 GB, free: 155.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.979/8.261, allocations: 0.8834 GB / 3.8 GB, free: 66.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.513e-06/8.261, allocations: 0 / 3.8 GB, free: 66.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002132/8.261, allocations: 52.77 kB / 3.8 GB, free: 66.85 MB / 0.7136 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.006862/8.268, allocations: 2.772 MB / 3.803 GB, free: 64.11 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/8.268, allocations: 12.02 kB / 3.803 GB, free: 64.1 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005492/8.268, allocations: 190.3 kB / 3.803 GB, free: 63.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/8.27, allocations: 381.4 kB / 3.804 GB, free: 63.53 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004341/8.275, allocations: 2.045 MB / 3.806 GB, free: 61.49 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-05/8.275, allocations: 108.5 kB / 3.806 GB, free: 61.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/8.275, allocations: 145.6 kB / 3.806 GB, free: 61.24 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00272/8.278, allocations: 1.596 MB / 3.807 GB, free: 59.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/8.278, allocations: 3.906 kB / 3.807 GB, free: 59.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/8.278, allocations: 60 kB / 3.807 GB, free: 59.53 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.127e-05/8.278, allocations: 46.48 kB / 3.807 GB, free: 59.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/8.28, allocations: 1.25 MB / 3.809 GB, free: 58.23 MB / 0.7136 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.008883/8.289, allocations: 6.463 MB / 3.815 GB, free: 51.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/8.29, allocations: 0.9298 MB / 3.816 GB, free: 50.66 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005728/8.291, allocations: 0.6928 MB / 3.817 GB, free: 49.82 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/8.291, allocations: 43.22 kB / 3.817 GB, free: 49.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=83): time 3.166e-06/8.291, allocations: 0 / 3.817 GB, free: 49.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=85): time 0.006144/8.297, allocations: 3.914 MB / 3.82 GB, free: 45.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.413e-05/8.297, allocations: 206.9 kB / 3.821 GB, free: 45.46 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002787/8.3, allocations: 1.791 MB / 3.822 GB, free: 43.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.00019/8.3, allocations: 49.64 kB / 3.822 GB, free: 43.58 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006881/8.301, allocations: 0.8863 MB / 3.823 GB, free: 42.69 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/8.301, allocations: 290.8 kB / 3.824 GB, free: 42.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/8.301, allocations: 20 kB / 3.824 GB, free: 42.39 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.121e-05/8.301, allocations: 341.9 kB / 3.824 GB, free: 42.05 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007742/8.302, allocations: 0.6057 MB / 3.825 GB, free: 41.44 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008685/8.303, allocations: 0.8704 MB / 3.825 GB, free: 40.48 MB / 0.7136 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.003972/8.307, allocations: 2.419 MB / 3.828 GB, free: 38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/8.307, allocations: 7 kB / 3.828 GB, free: 37.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002887/8.31, allocations: 1.834 MB / 3.83 GB, free: 36.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005446/8.31, allocations: 1.668 MB / 3.831 GB, free: 34.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/8.31, allocations: 7.984 kB / 3.831 GB, free: 34.26 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.05e-05/8.31, allocations: 8 kB / 3.831 GB, free: 34.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007227/8.311, allocations: 179.7 kB / 3.831 GB, free: 34.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/8.311, allocations: 4 kB / 3.831 GB, free: 34.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/8.313, allocations: 122.7 kB / 3.831 GB, free: 33.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/8.313, allocations: 55.27 kB / 3.832 GB, free: 33.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/8.313, allocations: 4 kB / 3.832 GB, free: 33.91 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002051/8.315, allocations: 1.84 MB / 3.833 GB, free: 32.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/8.315, allocations: 4 kB / 3.833 GB, free: 32.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/8.315, allocations: 11.12 kB / 3.833 GB, free: 32.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/8.316, allocations: 179.7 kB / 3.834 GB, free: 31.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/8.316, allocations: 7.938 kB / 3.834 GB, free: 31.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/8.318, allocations: 125.4 kB / 3.834 GB, free: 31.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/8.318, allocations: 51.98 kB / 3.834 GB, free: 31.68 MB / 0.7136 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.001412/8.319, allocations: 0.7047 MB / 3.834 GB, free: 30.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004795/8.32, allocations: 193.6 kB / 3.835 GB, free: 30.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00248/8.322, allocations: 1.486 MB / 3.836 GB, free: 29.24 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/8.322, allocations: 8 kB / 3.836 GB, free: 29.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/8.322, allocations: 0 / 3.836 GB, free: 29.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001624/8.324, allocations: 1.55 MB / 3.838 GB, free: 27.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006654/8.33, allocations: 3.627 MB / 3.841 GB, free: 23.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/8.33, allocations: 7.953 kB / 3.841 GB, free: 23.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007635/8.331, allocations: 171.7 kB / 3.841 GB, free: 23.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.661e-05/8.331, allocations: 8 kB / 3.841 GB, free: 23.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.999e-05/8.331, allocations: 29.77 kB / 3.841 GB, free: 23.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/8.331, allocations: 11.98 kB / 3.841 GB, free: 23.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/8.331, allocations: 11.94 kB / 3.841 GB, free: 23.62 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003495/8.335, allocations: 2.798 MB / 3.844 GB, free: 20.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00156/8.336, allocations: 454.5 kB / 3.844 GB, free: 20.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000722/8.337, allocations: 24 kB / 3.844 GB, free: 20.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001708/8.339, allocations: 106 kB / 3.845 GB, free: 20.04 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/8.339, allocations: 107 kB / 3.845 GB, free: 19.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/8.339, allocations: 31.98 kB / 3.845 GB, free: 19.91 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002988/8.342, allocations: 1.409 MB / 3.846 GB, free: 18.48 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.61e-07/8.342, allocations: 0 / 3.846 GB, free: 18.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004841/8.347, allocations: 1.003 MB / 3.847 GB, free: 17.48 MB / 0.7136 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.007966/8.355, allocations: 6.708 MB / 3.854 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003753/8.359, allocations: 3.05 MB / 3.857 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/8.359, allocations: 4 kB / 3.857 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/8.36, allocations: 1.012 MB / 3.858 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005436/8.366, allocations: 1 MB / 3.859 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/8.378, allocations: 7.81 MB / 3.866 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002003/8.38, allocations: 1.562 MB / 3.868 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002602/8.383, allocations: 438.7 kB / 3.868 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001554/8.384, allocations: 0.7726 MB / 3.869 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of SimCode: time 1.333e-06/8.384, allocations: 0 / 3.869 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6037/8.988, allocations: 83.3 MB / 3.95 GB, free: 89.58 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/8.988, allocations: 237.2 kB / 3.95 GB, free: 89.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.993/13.98, allocations: 0 / 3.95 GB, free: 89.3 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)