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.717/1.717, allocations: 289.7 MB / 302.2 MB, free: 2.156 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.001226/0.001226, allocations: 182.2 kB / 371.6 MB, free: 3.379 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.765/1.765, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.001408/0.00141, allocations: 91.64 kB / 0.745 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.1e-05/4.111e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2884, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.824/2.112, allocations: 413.7 MB / 1.384 GB, free: 292.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/2.112, allocations: 106.8 kB / 1.384 GB, free: 292.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.701/2.813, allocations: 361 MB / 1.736 GB, free: 24.01 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.693e-06/2.814, allocations: 0 / 1.736 GB, free: 24.01 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.214e-05/2.814, allocations: 24 kB / 1.736 GB, free: 23.98 MB / 0.948 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.002109/2.816, allocations: 1.442 MB / 1.738 GB, free: 22.45 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/2.816, allocations: 11.97 kB / 1.738 GB, free: 22.44 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001212/2.816, allocations: 106.5 kB / 1.738 GB, free: 22.33 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000267/2.816, allocations: 129.8 kB / 1.738 GB, free: 22.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/2.818, allocations: 1.179 MB / 1.739 GB, free: 20.98 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/2.818, allocations: 49.31 kB / 1.739 GB, free: 20.93 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-05/2.818, allocations: 64 kB / 1.739 GB, free: 20.87 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/2.819, allocations: 0.767 MB / 1.74 GB, free: 20.08 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/2.819, allocations: 0 / 1.74 GB, free: 20.08 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.798e-05/2.819, allocations: 28 kB / 1.74 GB, free: 20.05 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.761e-05/2.819, allocations: 31.86 kB / 1.74 GB, free: 20.02 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007848/2.82, allocations: 0.5636 MB / 1.741 GB, free: 19.46 MB / 0.948 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.003368/2.824, allocations: 3.109 MB / 1.744 GB, free: 16.21 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005758/2.824, allocations: 439.5 kB / 1.744 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/2.825, allocations: 277.1 kB / 1.744 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006037/2.825, allocations: 0.7716 MB / 1.745 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/2.825, allocations: 42.83 kB / 1.745 GB, free: 14.51 MB / 0.948 GB Notification: Performance of pre-optimization done (n=37): time 2.084e-06/2.825, allocations: 0 / 1.745 GB, free: 14.51 MB / 0.948 GB Notification: Performance of matching and sorting (n=37): time 0.0009519/2.826, allocations: 0.714 MB / 1.746 GB, free: 13.77 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/2.826, allocations: 144.8 kB / 1.746 GB, free: 13.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/2.827, allocations: 0.9652 MB / 1.747 GB, free: 12.61 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/2.827, allocations: 41.7 kB / 1.747 GB, free: 12.57 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/2.828, allocations: 476.5 kB / 1.748 GB, free: 12.09 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.111e-05/2.828, allocations: 130.1 kB / 1.748 GB, free: 11.96 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/2.828, allocations: 8 kB / 1.748 GB, free: 11.96 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.297e-05/2.828, allocations: 326 kB / 1.748 GB, free: 11.63 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/2.828, allocations: 316.9 kB / 1.748 GB, free: 11.32 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004002/2.829, allocations: 432.1 kB / 1.749 GB, free: 10.87 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004423/2.829, allocations: 0.511 MB / 1.749 GB, free: 10.32 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/2.829, allocations: 0 / 1.749 GB, free: 10.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001099/2.83, allocations: 1.037 MB / 1.75 GB, free: 9.234 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002015/2.83, allocations: 0.8796 MB / 1.751 GB, free: 8.266 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/2.83, allocations: 0 / 1.751 GB, free: 8.266 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/2.83, allocations: 4 kB / 1.751 GB, free: 8.262 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003411/2.831, allocations: 87.89 kB / 1.751 GB, free: 8.176 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/2.831, allocations: 4 kB / 1.751 GB, free: 8.172 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006634/2.831, allocations: 111.2 kB / 1.751 GB, free: 8.062 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.916e-05/2.832, allocations: 28 kB / 1.751 GB, free: 8.035 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/2.832, allocations: 11.94 kB / 1.751 GB, free: 8.023 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001074/2.833, allocations: 1.033 MB / 1.752 GB, free: 6.953 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/2.833, allocations: 4 kB / 1.752 GB, free: 6.949 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.222e-06/2.833, allocations: 4 kB / 1.752 GB, free: 6.945 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/2.833, allocations: 96.05 kB / 1.752 GB, free: 6.852 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/2.833, allocations: 7.938 kB / 1.752 GB, free: 6.844 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005296/2.834, allocations: 95.38 kB / 1.753 GB, free: 6.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.346e-05/2.834, allocations: 28 kB / 1.753 GB, free: 6.723 MB / 0.948 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.0001523/2.834, allocations: 218 kB / 1.753 GB, free: 6.484 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/2.834, allocations: 110.6 kB / 1.753 GB, free: 6.375 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/2.835, allocations: 0.8741 MB / 1.754 GB, free: 5.477 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/2.835, allocations: 4 kB / 1.754 GB, free: 5.473 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/2.835, allocations: 3.938 kB / 1.754 GB, free: 5.469 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007829/2.836, allocations: 0.9485 MB / 1.755 GB, free: 4.434 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/2.838, allocations: 2.069 MB / 1.757 GB, free: 2.246 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/2.838, allocations: 4 kB / 1.757 GB, free: 2.242 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/2.839, allocations: 68.16 kB / 1.757 GB, free: 2.176 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/2.839, allocations: 4 kB / 1.757 GB, free: 2.172 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.685e-05/2.839, allocations: 15.98 kB / 1.757 GB, free: 2.156 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/2.839, allocations: 7.938 kB / 1.757 GB, free: 2.148 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/2.839, allocations: 0 / 1.757 GB, free: 2.148 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/2.84, allocations: 1.468 MB / 1.758 GB, free: 0.582 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003481/2.84, allocations: 291.6 kB / 1.758 GB, free: 284 kB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/2.841, allocations: 15.98 kB / 1.758 GB, free: 268 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004829/2.841, allocations: 47.94 kB / 1.759 GB, free: 220 kB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/2.841, allocations: 51.89 kB / 1.759 GB, free: 168 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.119e-05/2.841, allocations: 23.94 kB / 1.759 GB, free: 144 kB / 0.948 GB Notification: Performance of sorting global known variables: time 0.6507/3.492, allocations: 0.7651 MB / 1.759 GB, free: 188.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.51e-07/3.492, allocations: 0 / 1.759 GB, free: 188.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002318/3.494, allocations: 0.5822 MB / 1.76 GB, free: 188.4 MB / 0.948 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.003563/3.498, allocations: 3.176 MB / 1.763 GB, free: 186.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002215/3.5, allocations: 1.887 MB / 1.765 GB, free: 186.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/3.5, allocations: 3.625 kB / 1.765 GB, free: 186.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006884/3.501, allocations: 0.5319 MB / 1.765 GB, free: 185.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002829/3.504, allocations: 0.5164 MB / 1.766 GB, free: 185.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/3.508, allocations: 1.798 MB / 1.768 GB, free: 185.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007539/3.509, allocations: 1.092 MB / 1.769 GB, free: 184.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001525/3.51, allocations: 322.7 kB / 1.769 GB, free: 184.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004792/3.511, allocations: 360.7 kB / 1.769 GB, free: 184.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.022e-06/3.511, allocations: 0 / 1.769 GB, free: 184.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07452/3.585, allocations: 38.77 MB / 1.807 GB, free: 184.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/3.585, allocations: 214.4 kB / 1.807 GB, free: 184 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.552/7.137, allocations: 0 / 1.807 GB, free: 184 MB / 0.948 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)