Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.207/2.207, allocations: 248.7 MB / 256.2 MB, free: 7.141 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.001515/0.001515, allocations: 184.4 kB / 315.4 MB, free: 4.008 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.3 MB / 0.5662 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 89.11 kB / 0.6704 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.672e-05/5.681e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.215, allocations: 106.2 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.924/2.139, allocations: 415.4 MB / 1.29 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/2.139, allocations: 94.39 kB / 1.29 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 11.82/13.96, allocations: 2.26 GB / 3.55 GB, free: 71.02 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.124e-06/13.96, allocations: 0 / 3.55 GB, free: 71.02 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001835/13.97, allocations: 252.3 kB / 3.551 GB, free: 70.8 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.0402/14.01, allocations: 7.317 MB / 3.558 GB, free: 63.49 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/14.01, allocations: 8.031 kB / 3.558 GB, free: 63.48 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/14.02, allocations: 1.226 MB / 3.559 GB, free: 62.24 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04969/14.07, allocations: 12.53 MB / 3.571 GB, free: 49.87 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004189/14.07, allocations: 179.9 kB / 3.571 GB, free: 49.7 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003364/14.07, allocations: 356.6 kB / 3.572 GB, free: 49.35 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03881/14.11, allocations: 17.76 MB / 3.589 GB, free: 31.58 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03684/14.15, allocations: 12.55 MB / 3.601 GB, free: 18.77 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003666/14.15, allocations: 27.38 kB / 3.601 GB, free: 18.75 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003387/14.15, allocations: 12 kB / 3.601 GB, free: 18.74 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001445/14.15, allocations: 136 kB / 3.601 GB, free: 18.61 MB / 0.9011 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 1.564/15.71, allocations: 54.53 MB / 3.655 GB, free: 97.74 MB / 0.9168 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0194/15.73, allocations: 8.639 MB / 3.663 GB, free: 97.67 MB / 0.9168 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01984/15.75, allocations: 9.198 MB / 3.672 GB, free: 97.41 MB / 0.9168 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07883/15.83, allocations: 26.29 MB / 3.698 GB, free: 90.25 MB / 0.9168 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01434/15.85, allocations: 7.212 MB / 3.705 GB, free: 90.16 MB / 0.9168 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.09245/15.94, allocations: 21.05 MB / 3.725 GB, free: 89.86 MB / 0.9168 GB Notification: Performance of pre-optimization done (n=301): time 3.884e-05/15.94, allocations: 0 / 3.725 GB, free: 89.86 MB / 0.9168 GB Notification: Performance of matching and sorting (n=301): time 0.05408/15.99, allocations: 15.04 MB / 3.74 GB, free: 89.56 MB / 0.9168 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/15.99, allocations: 91.44 kB / 3.74 GB, free: 89.49 MB / 0.9168 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01662/16.01, allocations: 6.394 MB / 3.746 GB, free: 89.11 MB / 0.9168 GB Notification: Performance of collectPreVariables (initialization): time 0.002458/16.01, allocations: 32.17 kB / 3.746 GB, free: 89.07 MB / 0.9168 GB Notification: Performance of collectInitialEqns (initialization): time 0.006231/16.02, allocations: 3.986 MB / 3.75 GB, free: 88.12 MB / 0.9168 GB Notification: Performance of collectInitialBindings (initialization): time 0.003892/16.02, allocations: 1.046 MB / 3.751 GB, free: 87.59 MB / 0.9168 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002694/16.03, allocations: 7.656 kB / 3.751 GB, free: 87.59 MB / 0.9168 GB Notification: Performance of setup shared object (initialization): time 0.0005422/16.03, allocations: 499.2 kB / 3.752 GB, free: 87.28 MB / 0.9168 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01313/16.04, allocations: 6.017 MB / 3.758 GB, free: 87.26 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01448/16.05, allocations: 7.803 MB / 3.765 GB, free: 85.02 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02316/16.08, allocations: 7.544 MB / 3.773 GB, free: 84.87 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-05/16.08, allocations: 18.38 kB / 3.773 GB, free: 84.86 MB / 0.9168 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.05562/16.13, allocations: 16.56 MB / 3.789 GB, free: 84.24 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 0.005035/16.14, allocations: 24.56 MB / 3.813 GB, free: 58.43 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001821/16.14, allocations: 47.16 kB / 3.813 GB, free: 58.43 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007559/16.15, allocations: 1.545 MB / 3.814 GB, free: 58.32 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01581/16.16, allocations: 1.602 MB / 3.816 GB, free: 58.32 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0222/16.18, allocations: 6.956 MB / 3.823 GB, free: 55.32 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01863/16.2, allocations: 0.5017 MB / 3.823 GB, free: 55.24 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003454/16.21, allocations: 0.5424 MB / 3.824 GB, free: 55.24 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/16.21, allocations: 7.469 kB / 3.824 GB, free: 55.24 MB / 0.9168 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05195/16.26, allocations: 15.74 MB / 3.839 GB, free: 54.88 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001921/16.26, allocations: 45.53 kB / 3.839 GB, free: 54.88 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007284/16.27, allocations: 1.419 MB / 3.841 GB, free: 54.77 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01581/16.28, allocations: 1.601 MB / 3.842 GB, free: 54.76 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02891/16.31, allocations: 10.51 MB / 3.852 GB, free: 50.12 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01802/16.33, allocations: 488.5 kB / 3.853 GB, free: 50.05 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003381/16.33, allocations: 0.5374 MB / 3.853 GB, free: 50.05 MB / 0.9168 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.004806/16.34, allocations: 251 kB / 3.854 GB, free: 49.94 MB / 0.9168 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0534/16.39, allocations: 14.88 MB / 3.868 GB, free: 49.3 MB / 0.9168 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005049/16.4, allocations: 0.6948 MB / 3.869 GB, free: 48.93 MB / 0.9168 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05045/16.45, allocations: 13.76 MB / 3.882 GB, free: 43.48 MB / 0.9168 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.71e-05/16.45, allocations: 34.53 kB / 3.882 GB, free: 43.48 MB / 0.9168 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/16.45, allocations: 0 / 3.882 GB, free: 43.48 MB / 0.9168 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03054/16.48, allocations: 10.47 MB / 3.893 GB, free: 38.76 MB / 0.9168 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06356/16.54, allocations: 23.48 MB / 3.915 GB, free: 27.57 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-05/16.54, allocations: 3.594 kB / 3.915 GB, free: 27.57 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00997/16.55, allocations: 0.6978 MB / 3.916 GB, free: 27.53 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003093/16.55, allocations: 0.7051 MB / 3.917 GB, free: 27.37 MB / 0.9168 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001267/16.56, allocations: 65.89 kB / 3.917 GB, free: 27.35 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01378/16.57, allocations: 5.008 MB / 3.922 GB, free: 23.89 MB / 0.9168 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/16.57, allocations: 3.219 kB / 3.922 GB, free: 23.89 MB / 0.9168 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05245/16.62, allocations: 18.46 MB / 3.94 GB, free: 8.617 MB / 0.9168 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008902/16.63, allocations: 1.931 MB / 3.942 GB, free: 7.008 MB / 0.9168 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003789/16.63, allocations: 19.7 kB / 3.942 GB, free: 6.992 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0129/16.65, allocations: 355.1 kB / 3.942 GB, free: 6.766 MB / 0.9168 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001693/16.65, allocations: 218.7 kB / 3.942 GB, free: 6.633 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001478/16.65, allocations: 161 kB / 3.942 GB, free: 6.508 MB / 0.9168 GB Notification: Performance of sorting global known variables: time 0.01256/16.66, allocations: 4.847 MB / 3.947 GB, free: 2.453 MB / 0.9168 GB Notification: Performance of sort global known variables: time 9.02e-07/16.66, allocations: 4 kB / 3.947 GB, free: 2.449 MB / 0.9168 GB Notification: Performance of remove unused functions: time 0.03395/16.7, allocations: 5.044 MB / 3.952 GB, free: 13.79 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.07521/16.77, allocations: 21.07 MB / 3.973 GB, free: 14.95 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.7774/17.55, allocations: 24.13 MB / 3.996 GB, free: 135.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.915e-05/17.55, allocations: 2.719 kB / 3.996 GB, free: 135.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01646/17.57, allocations: 6.003 MB / 4.002 GB, free: 135.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03504/17.6, allocations: 4.002 MB / 4.006 GB, free: 135.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06291/17.66, allocations: 18.98 MB / 4.025 GB, free: 132.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009968/17.67, allocations: 5.374 MB / 4.03 GB, free: 131.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.04341/17.72, allocations: 7.254 MB / 4.037 GB, free: 131.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01266/17.73, allocations: 3.662 MB / 4.04 GB, free: 131.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.844e-06/17.73, allocations: 0 / 4.04 GB, free: 131.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8263/18.56, allocations: 266.3 MB / 4.3 GB, free: 14.01 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/18.56, allocations: 175.3 kB / 4.301 GB, free: 13.81 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/32.28, allocations: 0 / 4.301 GB, free: 13.81 MB / 0.948 GB