Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.463/1.463, allocations: 249.5 MB / 257 MB, free: 6.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 172.8 kB / 316.3 MB, free: 3.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.3 MB / 0.5671 GB, free: 15.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009018/0.0009017, allocations: 84.92 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.696e-05/1.699e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1867, allocations: 106.4 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.51/1.697, allocations: 405.4 MB / 1.281 GB, free: 261.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/1.697, allocations: 104.2 kB / 1.281 GB, free: 261.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.059/2.756, allocations: 349.5 MB / 1.623 GB, free: 202 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.914e-06/2.756, allocations: 0 / 1.623 GB, free: 202 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001053/2.757, allocations: 28.92 kB / 1.623 GB, free: 202 MB / 0.8698 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.002256/2.759, allocations: 1.438 MB / 1.624 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/2.759, allocations: 8.375 kB / 1.624 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000293/2.759, allocations: 128.9 kB / 1.624 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/2.761, allocations: 1.18 MB / 1.625 GB, free: 201 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/2.761, allocations: 20.66 kB / 1.625 GB, free: 201 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.956e-05/2.761, allocations: 44.12 kB / 1.625 GB, free: 201 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007891/2.762, allocations: 0.5295 MB / 1.626 GB, free: 201 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/2.763, allocations: 0.6775 MB / 1.627 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/2.763, allocations: 1.344 kB / 1.627 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-05/2.763, allocations: 5.625 kB / 1.627 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/2.763, allocations: 15.12 kB / 1.627 GB, free: 200.9 MB / 0.8698 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.003464/2.767, allocations: 2.957 MB / 1.629 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006292/2.767, allocations: 409 kB / 1.63 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000352/2.768, allocations: 280.7 kB / 1.63 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006234/2.768, allocations: 0.7643 MB / 1.631 GB, free: 199 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/2.768, allocations: 35.41 kB / 1.631 GB, free: 199 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 2.615e-06/2.768, allocations: 0 / 1.631 GB, free: 199 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.001389/2.77, allocations: 0.6468 MB / 1.632 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/2.77, allocations: 140.6 kB / 1.632 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/2.771, allocations: 0.7989 MB / 1.632 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.479e-05/2.771, allocations: 28.8 kB / 1.632 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003541/2.771, allocations: 489.4 kB / 1.633 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/2.772, allocations: 121 kB / 1.633 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/2.772, allocations: 2.031 kB / 1.633 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.283e-05/2.772, allocations: 332.4 kB / 1.633 GB, free: 198 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004485/2.772, allocations: 302.4 kB / 1.634 GB, free: 198 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005236/2.773, allocations: 427.1 kB / 1.634 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008095/2.773, allocations: 382.1 kB / 1.634 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/2.773, allocations: 3.25 kB / 1.634 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001492/2.775, allocations: 0.8667 MB / 1.635 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002148/2.775, allocations: 0.8784 MB / 1.636 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/2.775, allocations: 8.953 kB / 1.636 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/2.775, allocations: 4.281 kB / 1.636 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004103/2.776, allocations: 91.72 kB / 1.636 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/2.776, allocations: 4.469 kB / 1.636 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006977/2.776, allocations: 80.31 kB / 1.636 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.198e-05/2.776, allocations: 30.89 kB / 1.636 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/2.776, allocations: 4.344 kB / 1.636 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001269/2.778, allocations: 0.8243 MB / 1.637 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/2.778, allocations: 3.812 kB / 1.637 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.921e-06/2.778, allocations: 10.12 kB / 1.637 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/2.778, allocations: 88.19 kB / 1.637 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/2.778, allocations: 5.875 kB / 1.637 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000506/2.779, allocations: 65.91 kB / 1.637 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.293e-05/2.779, allocations: 32.53 kB / 1.637 GB, free: 196.9 MB / 0.8698 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 () * 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.0001957/2.779, allocations: 209.8 kB / 1.638 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001081/2.78, allocations: 0.6609 MB / 1.638 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/2.78, allocations: 90.84 kB / 1.638 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/2.782, allocations: 0.7706 MB / 1.639 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/2.782, allocations: 11.48 kB / 1.639 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/2.782, allocations: 1.094 kB / 1.639 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00115/2.783, allocations: 0.8672 MB / 1.64 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/2.786, allocations: 1.872 MB / 1.642 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/2.786, allocations: 0 / 1.642 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002838/2.786, allocations: 73.56 kB / 1.642 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/2.786, allocations: 3.906 kB / 1.642 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/2.786, allocations: 7.281 kB / 1.642 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/2.786, allocations: 3.906 kB / 1.642 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/2.786, allocations: 7.344 kB / 1.642 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/2.788, allocations: 1.339 MB / 1.643 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003709/2.788, allocations: 274.8 kB / 1.643 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/2.788, allocations: 12.27 kB / 1.643 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004512/2.789, allocations: 36.78 kB / 1.643 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/2.789, allocations: 56.41 kB / 1.643 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.235e-05/2.789, allocations: 18.5 kB / 1.643 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007317/2.789, allocations: 0.6178 MB / 1.644 GB, free: 195 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.31e-07/2.789, allocations: 0 / 1.644 GB, free: 195 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001624/2.791, allocations: 0.5831 MB / 1.645 GB, free: 195 MB / 0.8698 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) * 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.002907/2.794, allocations: 3.05 MB / 1.648 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001589/2.796, allocations: 1.847 MB / 1.649 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/2.796, allocations: 3.906 kB / 1.649 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004419/2.796, allocations: 0.5068 MB / 1.65 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/2.798, allocations: 422.2 kB / 1.65 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/2.801, allocations: 1.732 MB / 1.652 GB, free: 192 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/2.801, allocations: 1.096 MB / 1.653 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008836/2.802, allocations: 279.8 kB / 1.653 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003626/2.802, allocations: 362.7 kB / 1.654 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of SimCode: time 4.01e-07/2.802, allocations: 0 / 1.654 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05263/2.855, allocations: 30.32 MB / 1.683 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/2.855, allocations: 211.1 kB / 1.684 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.847/5.702, allocations: 0 / 1.684 GB, free: 190.2 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)