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.777/1.777, allocations: 249.3 MB / 261.8 MB, free: 5.863 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.00118/0.001181, allocations: 178.1 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.852/1.852, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0009122/0.0009125, allocations: 86.48 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.207e-05/4.216e-05, allocations: 7.984 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2733, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.767/2.041, allocations: 405.1 MB / 1.287 GB, free: 260.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004783/2.041, allocations: 106.3 kB / 1.288 GB, free: 260.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.368/3.409, allocations: 351.2 MB / 1.631 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.974e-06/3.409, allocations: 2.781 kB / 1.631 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001132/3.409, allocations: 23.69 kB / 1.631 GB, free: 199.9 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.00297/3.412, allocations: 1.439 MB / 1.632 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.943e-05/3.412, allocations: 9.344 kB / 1.632 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001703/3.412, allocations: 105.7 kB / 1.632 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004595/3.413, allocations: 133.4 kB / 1.632 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002651/3.415, allocations: 1.17 MB / 1.633 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.441e-05/3.415, allocations: 52.25 kB / 1.633 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/3.416, allocations: 71.28 kB / 1.633 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/3.417, allocations: 0.7746 MB / 1.634 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/3.417, allocations: 0 / 1.634 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.556e-05/3.417, allocations: 26.41 kB / 1.634 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.475e-05/3.417, allocations: 18.31 kB / 1.634 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/3.418, allocations: 0.5699 MB / 1.635 GB, free: 198.8 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.004981/3.423, allocations: 3.109 MB / 1.638 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008267/3.424, allocations: 429.1 kB / 1.638 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000575/3.425, allocations: 287.8 kB / 1.639 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007793/3.426, allocations: 0.77 MB / 1.639 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/3.426, allocations: 43.52 kB / 1.639 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 3.327e-06/3.426, allocations: 3.25 kB / 1.639 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.001293/3.427, allocations: 0.7084 MB / 1.64 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.456e-05/3.427, allocations: 143.3 kB / 1.64 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/3.429, allocations: 0.9614 MB / 1.641 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.054e-05/3.429, allocations: 38.36 kB / 1.641 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004112/3.429, allocations: 470.8 kB / 1.642 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/3.429, allocations: 133.7 kB / 1.642 GB, free: 196 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/3.429, allocations: 9.938 kB / 1.642 GB, free: 196 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.061e-05/3.429, allocations: 332 kB / 1.642 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005182/3.43, allocations: 314.5 kB / 1.642 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005464/3.43, allocations: 426.4 kB / 1.643 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005453/3.431, allocations: 0.5124 MB / 1.643 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/3.431, allocations: 0 / 1.643 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001249/3.432, allocations: 1.045 MB / 1.644 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002982/3.433, allocations: 0.8771 MB / 1.645 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/3.433, allocations: 3.844 kB / 1.645 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/3.433, allocations: 3.844 kB / 1.645 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/3.433, allocations: 89.22 kB / 1.645 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/3.433, allocations: 7.031 kB / 1.645 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008242/3.434, allocations: 103.6 kB / 1.645 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-05/3.434, allocations: 26.92 kB / 1.645 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.256e-06/3.434, allocations: 3.875 kB / 1.645 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00124/3.435, allocations: 1.034 MB / 1.646 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/3.435, allocations: 0 / 1.646 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/3.435, allocations: 11.39 kB / 1.646 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/3.436, allocations: 90.34 kB / 1.646 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/3.436, allocations: 3.969 kB / 1.646 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006358/3.436, allocations: 92.52 kB / 1.647 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.018e-05/3.436, allocations: 32.98 kB / 1.647 GB, free: 194 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.0001851/3.436, allocations: 222 kB / 1.647 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/3.437, allocations: 103.2 kB / 1.647 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/3.438, allocations: 0.8727 MB / 1.648 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/3.438, allocations: 6.891 kB / 1.648 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/3.438, allocations: 2.625 kB / 1.648 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008663/3.439, allocations: 0.9578 MB / 1.649 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003019/3.442, allocations: 2.064 MB / 1.651 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/3.442, allocations: 5.219 kB / 1.651 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003125/3.442, allocations: 68.91 kB / 1.651 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/3.442, allocations: 3.719 kB / 1.651 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.883e-05/3.442, allocations: 9.375 kB / 1.651 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/3.442, allocations: 9.688 kB / 1.651 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/3.442, allocations: 3.719 kB / 1.651 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/3.444, allocations: 1.477 MB / 1.652 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004883/3.444, allocations: 284.5 kB / 1.653 GB, free: 192 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/3.445, allocations: 15.16 kB / 1.653 GB, free: 192 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005175/3.445, allocations: 52.31 kB / 1.653 GB, free: 192 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/3.445, allocations: 52.66 kB / 1.653 GB, free: 192 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.723e-05/3.445, allocations: 17.91 kB / 1.653 GB, free: 192 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001136/3.446, allocations: 0.772 MB / 1.653 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.034e-06/3.446, allocations: 3 kB / 1.653 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002011/3.448, allocations: 0.5827 MB / 1.654 GB, free: 191.8 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.003353/3.452, allocations: 3.182 MB / 1.657 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001956/3.454, allocations: 1.886 MB / 1.659 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/3.454, allocations: 6.281 kB / 1.659 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005681/3.454, allocations: 0.5288 MB / 1.659 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00254/3.457, allocations: 0.4965 MB / 1.66 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003899/3.461, allocations: 1.814 MB / 1.662 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/3.461, allocations: 1.094 MB / 1.663 GB, free: 188 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001062/3.462, allocations: 314 kB / 1.663 GB, free: 188 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004155/3.463, allocations: 361.7 kB / 1.663 GB, free: 188 MB / 0.8698 GB Notification: Performance of SimCode: time 1.002e-06/3.463, allocations: 0 / 1.663 GB, free: 188 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06541/3.528, allocations: 38.72 MB / 1.701 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002431/3.529, allocations: 229 kB / 1.701 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.368/6.897, allocations: 7.938 kB / 1.701 GB, free: 186.4 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)