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.6897/0.6897, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009994/0.0009994, allocations: 184.4 kB / 187.3 MB, free: 11.88 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.21/1.21, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.0008249/0.0008249, allocations: 100.3 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001677/0.001677, allocations: 271.3 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.928e-05/3.95e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3629, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.191/4.554, allocations: 2.143 GB / 2.907 GB, free: 128.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/4.554, allocations: 94.7 kB / 2.907 GB, free: 128.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.452/7.006, allocations: 0.8818 GB / 3.789 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.193e-06/7.006, allocations: 0 / 3.789 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002402/7.006, allocations: 56.08 kB / 3.789 GB, free: 55.72 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.004507/7.011, allocations: 2.361 MB / 3.791 GB, free: 53.28 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/7.011, allocations: 10.06 kB / 3.791 GB, free: 53.27 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004105/7.011, allocations: 198.3 kB / 3.792 GB, free: 53.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/7.013, allocations: 378.8 kB / 3.792 GB, free: 52.71 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003417/7.017, allocations: 2.037 MB / 3.794 GB, free: 50.67 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.446e-05/7.017, allocations: 109 kB / 3.794 GB, free: 50.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/7.017, allocations: 140 kB / 3.794 GB, free: 50.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002064/7.019, allocations: 1.566 MB / 3.796 GB, free: 48.81 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/7.019, allocations: 3.938 kB / 3.796 GB, free: 48.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/7.019, allocations: 56 kB / 3.796 GB, free: 48.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-05/7.019, allocations: 45.03 kB / 3.796 GB, free: 48.71 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/7.021, allocations: 1.185 MB / 3.797 GB, free: 47.52 MB / 0.7136 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.006285/7.027, allocations: 6.463 MB / 3.803 GB, free: 40.87 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009273/7.028, allocations: 0.8906 MB / 3.804 GB, free: 39.97 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005815/7.028, allocations: 0.6003 MB / 3.805 GB, free: 39.38 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004416/7.029, allocations: 0.6857 MB / 3.805 GB, free: 38.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/7.029, allocations: 47.3 kB / 3.806 GB, free: 38.49 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=83): time 2.295e-06/7.029, allocations: 3.938 kB / 3.806 GB, free: 38.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=85): time 0.003702/7.033, allocations: 3.083 MB / 3.809 GB, free: 35.29 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/7.033, allocations: 203.5 kB / 3.809 GB, free: 35.05 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/7.034, allocations: 1.765 MB / 3.81 GB, free: 33.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.039e-05/7.035, allocations: 49.7 kB / 3.81 GB, free: 33.19 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004969/7.035, allocations: 0.8871 MB / 3.811 GB, free: 32.29 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/7.035, allocations: 289.2 kB / 3.812 GB, free: 32.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/7.035, allocations: 20 kB / 3.812 GB, free: 32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.532e-05/7.035, allocations: 344.5 kB / 3.812 GB, free: 31.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005937/7.036, allocations: 0.576 MB / 3.813 GB, free: 31.08 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000722/7.037, allocations: 0.8508 MB / 3.813 GB, free: 30.14 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.003406/7.04, allocations: 2.368 MB / 3.816 GB, free: 27.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/7.04, allocations: 2.062 kB / 3.816 GB, free: 27.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001762/7.042, allocations: 1.791 MB / 3.817 GB, free: 25.88 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000254/7.042, allocations: 1.664 MB / 3.819 GB, free: 24.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/7.042, allocations: 4 kB / 3.819 GB, free: 24.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/7.042, allocations: 8 kB / 3.819 GB, free: 24.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006478/7.043, allocations: 171.8 kB / 3.819 GB, free: 23.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/7.043, allocations: 14.72 kB / 3.819 GB, free: 23.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/7.044, allocations: 122.1 kB / 3.819 GB, free: 23.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.521e-05/7.044, allocations: 51.98 kB / 3.819 GB, free: 23.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.764e-06/7.044, allocations: 9.5 kB / 3.819 GB, free: 23.67 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001705/7.046, allocations: 1.796 MB / 3.821 GB, free: 21.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/7.046, allocations: 4 kB / 3.821 GB, free: 21.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.584e-06/7.046, allocations: 8 kB / 3.821 GB, free: 21.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005975/7.046, allocations: 170 kB / 3.821 GB, free: 21.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/7.046, allocations: 15.92 kB / 3.821 GB, free: 21.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/7.047, allocations: 118.9 kB / 3.821 GB, free: 21.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.072e-05/7.048, allocations: 47.98 kB / 3.822 GB, free: 21.49 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 () * 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.0002238/7.048, allocations: 263.7 kB / 3.822 GB, free: 21.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/7.048, allocations: 197.6 kB / 3.822 GB, free: 21.01 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/7.05, allocations: 1.423 MB / 3.823 GB, free: 19.56 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/7.05, allocations: 10.62 kB / 3.823 GB, free: 19.55 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/7.05, allocations: 3.984 kB / 3.823 GB, free: 19.55 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001231/7.051, allocations: 1.499 MB / 3.825 GB, free: 17.95 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003925/7.055, allocations: 3.576 MB / 3.828 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/7.055, allocations: 8 kB / 3.828 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006386/7.056, allocations: 163.8 kB / 3.828 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/7.056, allocations: 8 kB / 3.828 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.806e-05/7.056, allocations: 34.38 kB / 3.829 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/7.056, allocations: 15.92 kB / 3.829 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/7.056, allocations: 7.938 kB / 3.829 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/7.058, allocations: 2.725 MB / 3.831 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006441/7.059, allocations: 452.2 kB / 3.832 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/7.059, allocations: 28 kB / 3.832 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009379/7.06, allocations: 102.1 kB / 3.832 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/7.06, allocations: 98.78 kB / 3.832 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.335e-05/7.06, allocations: 35.98 kB / 3.832 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001518/7.062, allocations: 1.386 MB / 3.833 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/7.062, allocations: 0 / 3.833 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002292/7.064, allocations: 0.9984 MB / 3.834 GB, free: 7.977 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) * 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.004932/7.069, allocations: 6.623 MB / 3.841 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0029/7.072, allocations: 3.046 MB / 3.844 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/7.072, allocations: 0 / 3.844 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/7.073, allocations: 0.9851 MB / 3.845 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00408/7.077, allocations: 1.01 MB / 3.846 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005935/7.083, allocations: 3.622 MB / 3.849 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/7.084, allocations: 1.567 MB / 3.851 GB, free: 7.289 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002187/7.086, allocations: 0.6588 MB / 3.851 GB, free: 6.699 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008374/7.087, allocations: 0.7414 MB / 3.852 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of SimCode: time 8.12e-07/7.087, allocations: 0 / 3.852 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4705/7.557, allocations: 91.41 MB / 3.941 GB, free: 96.29 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001256/7.558, allocations: 219.4 kB / 3.942 GB, free: 96.07 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.46/12.02, allocations: 2.344 kB / 3.942 GB, free: 96.07 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)