Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.696/1.696, allocations: 292.6 MB / 307.5 MB, free: 5.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001457/0.001456, allocations: 188.1 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205.4 MB / 0.6366 GB, free: 8.637 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 84.73 kB / 0.7509 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000424/0.0004236, allocations: 16 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3383, allocations: 116.3 MB / 0.9884 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.718/2.057, allocations: 413.7 MB / 1.392 GB, free: 279.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/2.057, allocations: 110.5 kB / 1.393 GB, free: 279.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.427/3.484, allocations: 362.1 MB / 1.746 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.665e-06/3.485, allocations: 0.9375 kB / 1.746 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000259/3.485, allocations: 24.94 kB / 1.746 GB, free: 175.2 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.00679/3.492, allocations: 1.654 MB / 1.748 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.95e-05/3.492, allocations: 9 kB / 1.748 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006158/3.492, allocations: 106.8 kB / 1.748 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/3.493, allocations: 130.1 kB / 1.748 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004442/3.498, allocations: 1.189 MB / 1.749 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/3.498, allocations: 48.47 kB / 1.749 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002835/3.498, allocations: 66.62 kB / 1.749 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/3.501, allocations: 0.7983 MB / 1.75 GB, free: 174 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.225e-05/3.501, allocations: 5.156 kB / 1.75 GB, free: 174 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/3.501, allocations: 28.22 kB / 1.75 GB, free: 174 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.876e-05/3.501, allocations: 15.38 kB / 1.75 GB, free: 174 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/3.502, allocations: 0.617 MB / 1.751 GB, free: 174 MB / 0.9323 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.006014/3.508, allocations: 3.12 MB / 1.754 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008997/3.509, allocations: 449.5 kB / 1.754 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007136/3.51, allocations: 0.7665 MB / 1.755 GB, free: 172.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/3.51, allocations: 36.97 kB / 1.755 GB, free: 172 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=37): time 2.745e-06/3.51, allocations: 1.281 kB / 1.755 GB, free: 172 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37): time 0.0022/3.512, allocations: 1.252 MB / 1.756 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/3.512, allocations: 142.4 kB / 1.756 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/3.514, allocations: 0.9762 MB / 1.757 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.713e-05/3.514, allocations: 33.05 kB / 1.757 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004535/3.515, allocations: 482.8 kB / 1.758 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/3.515, allocations: 125 kB / 1.758 GB, free: 171 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/3.515, allocations: 10.59 kB / 1.758 GB, free: 171 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.893e-05/3.515, allocations: 327.3 kB / 1.758 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006231/3.516, allocations: 332.4 kB / 1.759 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006643/3.516, allocations: 455.4 kB / 1.759 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006247/3.517, allocations: 0.5294 MB / 1.76 GB, free: 170.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/3.517, allocations: 0 / 1.76 GB, free: 170.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001589/3.519, allocations: 1.08 MB / 1.761 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003239/3.519, allocations: 0.8791 MB / 1.761 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/3.519, allocations: 3.219 kB / 1.761 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/3.519, allocations: 3.188 kB / 1.761 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/3.519, allocations: 90.91 kB / 1.762 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/3.52, allocations: 10.28 kB / 1.762 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009427/3.52, allocations: 108.6 kB / 1.762 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.372e-05/3.521, allocations: 29.72 kB / 1.762 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/3.521, allocations: 4.188 kB / 1.762 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001424/3.522, allocations: 1.071 MB / 1.763 GB, free: 169 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/3.522, allocations: 3.031 kB / 1.763 GB, free: 169 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.533e-06/3.522, allocations: 3.094 kB / 1.763 GB, free: 169 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/3.522, allocations: 94.23 kB / 1.763 GB, free: 169 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/3.522, allocations: 7.547 kB / 1.763 GB, free: 169 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008724/3.523, allocations: 90.86 kB / 1.763 GB, free: 169 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-05/3.523, allocations: 27.92 kB / 1.763 GB, free: 169 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 44 * 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.0007867/3.524, allocations: 477.5 kB / 1.763 GB, free: 168.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003987/3.525, allocations: 109.3 kB / 1.764 GB, free: 168.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/3.527, allocations: 0.9073 MB / 1.764 GB, free: 168.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/3.527, allocations: 7.562 kB / 1.764 GB, free: 168.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/3.527, allocations: 3.953 kB / 1.764 GB, free: 168.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001523/3.528, allocations: 0.99 MB / 1.765 GB, free: 168.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00464/3.533, allocations: 2.11 MB / 1.767 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/3.533, allocations: 2.5 kB / 1.767 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003193/3.533, allocations: 74.44 kB / 1.768 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/3.533, allocations: 3.25 kB / 1.768 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.936e-05/3.533, allocations: 19.22 kB / 1.768 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/3.533, allocations: 5.688 kB / 1.768 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/3.533, allocations: 2.5 kB / 1.768 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/3.535, allocations: 1.531 MB / 1.769 GB, free: 167 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000803/3.536, allocations: 289.6 kB / 1.769 GB, free: 166.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003589/3.537, allocations: 13.41 kB / 1.769 GB, free: 166.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006251/3.537, allocations: 54.73 kB / 1.769 GB, free: 166.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/3.537, allocations: 51.41 kB / 1.769 GB, free: 166.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.65e-05/3.538, allocations: 21.55 kB / 1.769 GB, free: 166.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001198/3.539, allocations: 0.7876 MB / 1.77 GB, free: 166.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.21e-07/3.539, allocations: 0 / 1.77 GB, free: 166.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002479/3.541, allocations: 0.5873 MB / 1.771 GB, free: 166.7 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.watFlo_mod.i,con.mod.temDif_mod.i,con.mod.airFlo_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * 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.004194/3.545, allocations: 3.251 MB / 1.774 GB, free: 165.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002094/3.548, allocations: 1.918 MB / 1.776 GB, free: 164.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/3.548, allocations: 6.562 kB / 1.776 GB, free: 164.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006088/3.548, allocations: 0.5415 MB / 1.776 GB, free: 164.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/3.551, allocations: 0.5121 MB / 1.777 GB, free: 164.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005778/3.556, allocations: 3.98 MB / 1.781 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006894/3.557, allocations: 1.094 MB / 1.782 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001046/3.558, allocations: 207.1 kB / 1.782 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005763/3.559, allocations: 380.9 kB / 1.782 GB, free: 161 MB / 0.9323 GB Notification: Performance of SimCode: time 1.162e-06/3.559, allocations: 0 / 1.782 GB, free: 161 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06065/3.619, allocations: 36.37 MB / 1.818 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/3.62, allocations: 245.1 kB / 1.818 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.208/6.828, allocations: 3.375 kB / 1.818 GB, free: 159.9 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)