Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.505/2.505, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001492/0.001492, allocations: 184.8 kB / 360.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.207/2.207, allocations: 205.2 MB / 0.6191 GB, free: 12.2 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.001068/0.001067, allocations: 89.95 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.097e-05/3.11e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8121/0.8122, allocations: 115.3 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.293/2.105, allocations: 411.9 MB / 1.366 GB, free: 156.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003811/2.106, allocations: 107.3 kB / 1.366 GB, free: 156.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.892/3.998, allocations: 359.2 MB / 1.717 GB, free: 226.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.625e-06/3.998, allocations: 0 / 1.717 GB, free: 226.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001444/3.998, allocations: 26.19 kB / 1.717 GB, free: 226.7 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.003439/4.002, allocations: 1.444 MB / 1.718 GB, free: 225.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/4.002, allocations: 7.625 kB / 1.718 GB, free: 225.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006205/4.003, allocations: 138 kB / 1.718 GB, free: 225.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003446/4.006, allocations: 1.178 MB / 1.719 GB, free: 225 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/4.006, allocations: 20.41 kB / 1.719 GB, free: 225 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/4.006, allocations: 39.34 kB / 1.719 GB, free: 225 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001344/4.008, allocations: 0.5317 MB / 1.72 GB, free: 224.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/4.009, allocations: 0.6876 MB / 1.72 GB, free: 224.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/4.009, allocations: 0 / 1.72 GB, free: 224.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.334e-05/4.009, allocations: 3.719 kB / 1.72 GB, free: 224.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.692e-05/4.009, allocations: 19.45 kB / 1.721 GB, free: 224.5 MB / 0.9323 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.005836/4.015, allocations: 2.952 MB / 1.723 GB, free: 222.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009109/4.016, allocations: 409.2 kB / 1.724 GB, free: 222.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005107/4.017, allocations: 274.2 kB / 1.724 GB, free: 222.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008808/4.018, allocations: 0.7729 MB / 1.725 GB, free: 221.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/4.018, allocations: 38.11 kB / 1.725 GB, free: 221.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=37): time 3.516e-06/4.018, allocations: 0 / 1.725 GB, free: 221.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37): time 0.002017/4.02, allocations: 0.6482 MB / 1.725 GB, free: 221.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/4.02, allocations: 143.3 kB / 1.726 GB, free: 221 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/4.021, allocations: 0.804 MB / 1.726 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/4.022, allocations: 29.52 kB / 1.726 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004293/4.022, allocations: 487.2 kB / 1.727 GB, free: 220.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/4.022, allocations: 119.8 kB / 1.727 GB, free: 220.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/4.022, allocations: 3.219 kB / 1.727 GB, free: 220.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.643e-05/4.022, allocations: 321.1 kB / 1.727 GB, free: 219.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006036/4.023, allocations: 309.9 kB / 1.728 GB, free: 219.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000657/4.024, allocations: 418.2 kB / 1.728 GB, free: 219.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/4.025, allocations: 379.4 kB / 1.728 GB, free: 219.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/4.025, allocations: 0 / 1.728 GB, free: 219.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002352/4.027, allocations: 0.8723 MB / 1.729 GB, free: 219 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002726/4.028, allocations: 0.8734 MB / 1.73 GB, free: 218.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/4.028, allocations: 0 / 1.73 GB, free: 218.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/4.028, allocations: 6.844 kB / 1.73 GB, free: 218.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006898/4.028, allocations: 92.34 kB / 1.73 GB, free: 218.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/4.028, allocations: 7.625 kB / 1.73 GB, free: 218.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/4.03, allocations: 87 kB / 1.73 GB, free: 218 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/4.03, allocations: 25.41 kB / 1.73 GB, free: 218 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/4.03, allocations: 3.719 kB / 1.73 GB, free: 218 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002244/4.032, allocations: 0.8329 MB / 1.731 GB, free: 217.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/4.032, allocations: 0 / 1.731 GB, free: 217.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/4.032, allocations: 3.844 kB / 1.731 GB, free: 217.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006636/4.033, allocations: 89.56 kB / 1.731 GB, free: 217.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/4.033, allocations: 18.73 kB / 1.731 GB, free: 217.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/4.034, allocations: 64.69 kB / 1.731 GB, free: 217.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/4.034, allocations: 27.45 kB / 1.731 GB, free: 217.7 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 () * 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.0002786/4.034, allocations: 209.2 kB / 1.731 GB, free: 217.5 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001958/4.036, allocations: 0.6649 MB / 1.732 GB, free: 217.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/4.036, allocations: 87.62 kB / 1.732 GB, free: 217.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/4.039, allocations: 0.78 MB / 1.733 GB, free: 216.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/4.039, allocations: 7.672 kB / 1.733 GB, free: 216.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/4.039, allocations: 3.062 kB / 1.733 GB, free: 216.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001678/4.04, allocations: 0.8622 MB / 1.734 GB, free: 216.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004808/4.045, allocations: 1.87 MB / 1.736 GB, free: 215.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.128e-06/4.045, allocations: 0 / 1.736 GB, free: 215.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005609/4.046, allocations: 66.91 kB / 1.736 GB, free: 215.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/4.046, allocations: 3.062 kB / 1.736 GB, free: 215.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.291e-05/4.046, allocations: 16.48 kB / 1.736 GB, free: 215.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/4.046, allocations: 3.625 kB / 1.736 GB, free: 215.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/4.046, allocations: 3.5 kB / 1.736 GB, free: 215.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002846/4.049, allocations: 1.345 MB / 1.737 GB, free: 214.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007102/4.05, allocations: 267.4 kB / 1.737 GB, free: 214.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/4.05, allocations: 10.78 kB / 1.737 GB, free: 214.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008521/4.051, allocations: 45.41 kB / 1.737 GB, free: 214.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/4.051, allocations: 48.06 kB / 1.737 GB, free: 214.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-05/4.051, allocations: 28.84 kB / 1.737 GB, free: 214.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001169/4.052, allocations: 0.6155 MB / 1.738 GB, free: 214 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.21e-07/4.052, allocations: 0 / 1.738 GB, free: 214 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002472/4.055, allocations: 0.5833 MB / 1.739 GB, free: 213.9 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) * 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.004766/4.059, allocations: 3.052 MB / 1.742 GB, free: 211.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002808/4.062, allocations: 1.847 MB / 1.743 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/4.062, allocations: 0 / 1.743 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000821/4.063, allocations: 0.513 MB / 1.744 GB, free: 210.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003281/4.067, allocations: 407.7 kB / 1.744 GB, free: 210.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004916/4.071, allocations: 1.739 MB / 1.746 GB, free: 209.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007334/4.072, allocations: 1.101 MB / 1.747 GB, free: 208.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00175/4.074, allocations: 279.9 kB / 1.747 GB, free: 208.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006275/4.075, allocations: 362.7 kB / 1.748 GB, free: 208.5 MB / 0.9323 GB Notification: Performance of SimCode: time 1.283e-06/4.075, allocations: 3.594 kB / 1.748 GB, free: 208.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09763/4.172, allocations: 30.36 MB / 1.777 GB, free: 193.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002889/4.173, allocations: 199.7 kB / 1.778 GB, free: 193 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.945/8.118, allocations: 0 / 1.778 GB, free: 193 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)