Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",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.975/2.975, allocations: 287.3 MB / 302.3 MB, free: 8.305 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.001554/0.001553, allocations: 189.2 kB / 370.8 MB, free: 10.85 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.047/2.047, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001187/0.001186, allocations: 92.34 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006767/0.0006769, allocations: 18.47 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2353, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.794/8.029, allocations: 2.334 GB / 3.312 GB, free: 271.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/8.029, allocations: 100.5 kB / 3.312 GB, free: 271.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.822/12.85, allocations: 1.007 GB / 4.32 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.317e-06/12.85, allocations: 0 / 4.32 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003209/12.85, allocations: 43.98 kB / 4.32 GB, free: 4.59 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.009863/12.86, allocations: 2.178 MB / 4.322 GB, free: 2.355 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/12.86, allocations: 8.031 kB / 4.322 GB, free: 2.348 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008355/12.86, allocations: 172.8 kB / 4.322 GB, free: 2.168 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003337/12.87, allocations: 349.5 kB / 4.322 GB, free: 1.824 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006765/12.87, allocations: 1.593 MB / 4.324 GB, free: 180 kB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/12.87, allocations: 94.14 kB / 4.324 GB, free: 84 kB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.7617/13.63, allocations: 119.1 kB / 4.324 GB, free: 144.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005284/13.64, allocations: 1.168 MB / 4.325 GB, free: 144 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-05/13.64, allocations: 5.281 kB / 4.325 GB, free: 144 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002117/13.64, allocations: 49.2 kB / 4.325 GB, free: 144 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/13.64, allocations: 43.81 kB / 4.325 GB, free: 144 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004287/13.64, allocations: 0.9346 MB / 4.326 GB, free: 144 MB / 0.9636 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.01383/13.66, allocations: 5.512 MB / 4.332 GB, free: 141.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002464/13.66, allocations: 0.879 MB / 4.332 GB, free: 141.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000798/13.66, allocations: 0.6057 MB / 4.333 GB, free: 140.6 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/13.66, allocations: 43.47 kB / 4.333 GB, free: 140.6 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=70): time 4.679e-06/13.66, allocations: 0 / 4.333 GB, free: 140.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=70): time 0.006203/13.67, allocations: 1.396 MB / 4.334 GB, free: 140.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/13.67, allocations: 61.53 kB / 4.334 GB, free: 140.2 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003151/13.67, allocations: 1.048 MB / 4.336 GB, free: 140 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002993/13.67, allocations: 43.73 kB / 4.336 GB, free: 140 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000861/13.67, allocations: 0.6812 MB / 4.336 GB, free: 139.8 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004926/13.67, allocations: 248.1 kB / 4.336 GB, free: 139.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.593e-05/13.67, allocations: 11.56 kB / 4.336 GB, free: 139.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001254/13.67, allocations: 336.3 kB / 4.337 GB, free: 139.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/13.67, allocations: 278.7 kB / 4.337 GB, free: 139.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/13.68, allocations: 0.5218 MB / 4.338 GB, free: 139.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/13.68, allocations: 360.9 kB / 4.338 GB, free: 139.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/13.68, allocations: 0.8125 kB / 4.338 GB, free: 139.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003783/13.68, allocations: 0.971 MB / 4.339 GB, free: 139 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002608/13.68, allocations: 0.9088 MB / 4.34 GB, free: 138.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/13.68, allocations: 6.297 kB / 4.34 GB, free: 138.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005669/13.68, allocations: 101.8 kB / 4.34 GB, free: 138.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/13.68, allocations: 151.9 kB / 4.34 GB, free: 138.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/13.69, allocations: 1.763 MB / 4.342 GB, free: 136.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002812/13.69, allocations: 165.6 kB / 4.342 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000286/13.69, allocations: 35.59 kB / 4.342 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/13.69, allocations: 4.5 kB / 4.342 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00319/13.69, allocations: 0.7985 MB / 4.343 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/13.69, allocations: 6 kB / 4.343 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004828/13.69, allocations: 97.47 kB / 4.343 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/13.69, allocations: 150.9 kB / 4.343 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003876/13.7, allocations: 3.148 MB / 4.346 GB, free: 133.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00268/13.7, allocations: 157.4 kB / 4.346 GB, free: 133.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002601/13.7, allocations: 29.52 kB / 4.346 GB, free: 133.6 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001466/13.7, allocations: 443.5 kB / 4.347 GB, free: 133.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006005/13.7, allocations: 145.5 kB / 4.347 GB, free: 133.4 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003588/13.71, allocations: 0.9712 MB / 4.348 GB, free: 133.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.268e-05/13.71, allocations: 12.2 kB / 4.348 GB, free: 133.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/13.71, allocations: 0.6562 kB / 4.348 GB, free: 133.3 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002887/13.71, allocations: 1.087 MB / 4.349 GB, free: 132.8 MB / 0.9636 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 postOpt removeSimpleEquations (simulation): time 0.008949/13.72, allocations: 2.457 MB / 4.351 GB, free: 132.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/13.72, allocations: 4.625 kB / 4.351 GB, free: 132.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/13.72, allocations: 157.9 kB / 4.351 GB, free: 132.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004421/13.72, allocations: 91.41 kB / 4.351 GB, free: 132.3 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000167/13.72, allocations: 18.72 kB / 4.351 GB, free: 132.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/13.72, allocations: 1.737 MB / 4.353 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/13.72, allocations: 9.156 kB / 4.353 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00495/13.73, allocations: 1.621 MB / 4.355 GB, free: 130.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/13.73, allocations: 325.9 kB / 4.355 GB, free: 130 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005314/13.73, allocations: 21.17 kB / 4.355 GB, free: 130 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002514/13.73, allocations: 119.2 kB / 4.355 GB, free: 130 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003187/13.73, allocations: 53.44 kB / 4.355 GB, free: 130 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/13.73, allocations: 27.36 kB / 4.355 GB, free: 130 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002542/13.73, allocations: 0.8236 MB / 4.356 GB, free: 129.9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9.51e-07/13.73, allocations: 1 kB / 4.356 GB, free: 129.9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005937/13.74, allocations: 0.9872 MB / 4.357 GB, free: 129.9 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.009477/13.75, allocations: 4.658 MB / 4.362 GB, free: 127.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004834/13.76, allocations: 1.404 MB / 4.363 GB, free: 127.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.148e-06/13.76, allocations: 5 kB / 4.363 GB, free: 127.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001518/13.76, allocations: 409.5 kB / 4.363 GB, free: 127.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007381/13.76, allocations: 0.8036 MB / 4.364 GB, free: 127.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02548/13.79, allocations: 9.713 MB / 4.374 GB, free: 123.3 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/13.79, allocations: 1.316 MB / 4.375 GB, free: 122.5 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002894/13.79, allocations: 348.8 kB / 4.375 GB, free: 122.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001628/13.8, allocations: 0.572 MB / 4.376 GB, free: 122.5 MB / 0.9636 GB Notification: Performance of SimCode: time 1.663e-06/13.8, allocations: 0 / 4.376 GB, free: 122.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1836/13.98, allocations: 67.7 MB / 4.442 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002811/13.98, allocations: 280.2 kB / 4.442 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.767/19.75, allocations: 3.188 kB / 4.442 GB, free: 120.4 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)