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.7963/0.7963, allocations: 141.8 MB / 149.3 MB, free: 9.195 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.00111/0.00111, allocations: 180.9 kB / 182.2 MB, free: 9.434 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.62/1.62, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.0009549/0.000955, allocations: 85.83 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001884/0.001884, allocations: 272.3 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.031e-05/2.03e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5661/0.5662, allocations: 82.77 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.763/6.329, allocations: 2.142 GB / 2.9 GB, free: 143.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/6.329, allocations: 98.38 kB / 2.9 GB, free: 143.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.989/9.319, allocations: 0.8744 GB / 3.774 GB, free: 54.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.302e-06/9.319, allocations: 3.938 kB / 3.774 GB, free: 54.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001885/9.319, allocations: 53.16 kB / 3.774 GB, free: 54.04 MB / 0.698 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.004431/9.323, allocations: 2.358 MB / 3.777 GB, free: 51.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/9.323, allocations: 13.7 kB / 3.777 GB, free: 51.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/9.325, allocations: 380.4 kB / 3.777 GB, free: 51.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00359/9.329, allocations: 2.03 MB / 3.779 GB, free: 49.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.209e-05/9.329, allocations: 50.25 kB / 3.779 GB, free: 49.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/9.329, allocations: 89.45 kB / 3.779 GB, free: 49.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001739/9.331, allocations: 1.114 MB / 3.78 GB, free: 48.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/9.333, allocations: 1.374 MB / 3.781 GB, free: 46.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/9.333, allocations: 4 kB / 3.781 GB, free: 46.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/9.333, allocations: 3.953 kB / 3.781 GB, free: 46.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.111e-05/9.333, allocations: 48.81 kB / 3.782 GB, free: 46.54 MB / 0.698 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.007387/9.34, allocations: 6.17 MB / 3.788 GB, free: 40.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009579/9.341, allocations: 0.8567 MB / 3.788 GB, free: 39.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005835/9.342, allocations: 0.5732 MB / 3.789 GB, free: 38.76 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005342/9.342, allocations: 0.6845 MB / 3.79 GB, free: 37.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/9.342, allocations: 50.25 kB / 3.79 GB, free: 37.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=83): time 3.557e-06/9.342, allocations: 0 / 3.79 GB, free: 37.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=85): time 0.004719/9.347, allocations: 2.716 MB / 3.792 GB, free: 35.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/9.347, allocations: 196.7 kB / 3.793 GB, free: 34.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/9.349, allocations: 1.489 MB / 3.794 GB, free: 33.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.62e-05/9.349, allocations: 31.39 kB / 3.794 GB, free: 33.35 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000507/9.35, allocations: 0.9012 MB / 3.795 GB, free: 32.44 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000167/9.35, allocations: 279.7 kB / 3.795 GB, free: 32.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/9.35, allocations: 4 kB / 3.795 GB, free: 32.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.502e-05/9.35, allocations: 344.1 kB / 3.795 GB, free: 31.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005921/9.351, allocations: 0.5649 MB / 3.796 GB, free: 31.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007173/9.351, allocations: 0.8259 MB / 3.797 GB, free: 30.34 MB / 0.698 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.003606/9.355, allocations: 2.14 MB / 3.799 GB, free: 28.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/9.355, allocations: 0 / 3.799 GB, free: 28.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002226/9.357, allocations: 1.541 MB / 3.8 GB, free: 26.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003484/9.357, allocations: 1.645 MB / 3.802 GB, free: 24.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/9.357, allocations: 7.688 kB / 3.802 GB, free: 24.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/9.358, allocations: 8 kB / 3.802 GB, free: 24.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007094/9.358, allocations: 171.7 kB / 3.802 GB, free: 24.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/9.358, allocations: 15.92 kB / 3.802 GB, free: 24.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/9.36, allocations: 95.08 kB / 3.802 GB, free: 24.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/9.36, allocations: 51.94 kB / 3.802 GB, free: 24.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/9.36, allocations: 9.031 kB / 3.802 GB, free: 24.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001885/9.362, allocations: 1.46 MB / 3.804 GB, free: 23.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/9.362, allocations: 4 kB / 3.804 GB, free: 23.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/9.362, allocations: 8 kB / 3.804 GB, free: 23.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006626/9.362, allocations: 179 kB / 3.804 GB, free: 22.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/9.362, allocations: 4 kB / 3.804 GB, free: 22.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/9.364, allocations: 101.6 kB / 3.804 GB, free: 22.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.48e-05/9.364, allocations: 55.92 kB / 3.804 GB, free: 22.71 MB / 0.698 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.0002865/9.364, allocations: 217.4 kB / 3.804 GB, free: 22.47 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001564/9.366, allocations: 1.181 MB / 3.806 GB, free: 21.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/9.366, allocations: 173.8 kB / 3.806 GB, free: 21.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/9.368, allocations: 1.263 MB / 3.807 GB, free: 19.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.709e-06/9.368, allocations: 8 kB / 3.807 GB, free: 19.83 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/9.368, allocations: 0 / 3.807 GB, free: 19.83 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001322/9.369, allocations: 1.358 MB / 3.808 GB, free: 18.38 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004561/9.374, allocations: 3.233 MB / 3.811 GB, free: 15.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/9.374, allocations: 7.938 kB / 3.811 GB, free: 15.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006911/9.375, allocations: 167.8 kB / 3.812 GB, free: 14.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/9.375, allocations: 8 kB / 3.812 GB, free: 14.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-05/9.375, allocations: 18.42 kB / 3.812 GB, free: 14.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/9.375, allocations: 11.94 kB / 3.812 GB, free: 14.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/9.375, allocations: 11.94 kB / 3.812 GB, free: 14.85 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/9.377, allocations: 2.497 MB / 3.814 GB, free: 12.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007123/9.378, allocations: 430.8 kB / 3.814 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/9.378, allocations: 12 kB / 3.814 GB, free: 11.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009594/9.379, allocations: 86.72 kB / 3.815 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/9.379, allocations: 96.75 kB / 3.815 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.847e-05/9.379, allocations: 35.98 kB / 3.815 GB, free: 11.54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001424/9.381, allocations: 1.142 MB / 3.816 GB, free: 10.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/9.381, allocations: 1.594 kB / 3.816 GB, free: 10.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002568/9.383, allocations: 0.9098 MB / 3.817 GB, free: 9.496 MB / 0.698 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.005829/9.389, allocations: 6.548 MB / 3.823 GB, free: 3.219 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002744/9.392, allocations: 2.947 MB / 3.826 GB, free: 128 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/9.392, allocations: 4 kB / 3.826 GB, free: 124 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001162/9.393, allocations: 0.9576 MB / 3.827 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004079/9.397, allocations: 0.8499 MB / 3.828 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006742/9.404, allocations: 3.515 MB / 3.831 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/9.405, allocations: 1.565 MB / 3.833 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002319/9.408, allocations: 0.6021 MB / 3.833 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009287/9.409, allocations: 0.7336 MB / 3.834 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of SimCode: time 1.092e-06/9.409, allocations: 0 / 3.834 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.552/9.961, allocations: 65.08 MB / 3.898 GB, free: 84.36 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/9.961, allocations: 200.8 kB / 3.898 GB, free: 84.16 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.315/14.28, allocations: 2.719 kB / 3.898 GB, free: 84.16 MB / 0.7136 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)