Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.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.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_7_0_0_Buildings_Experimental_DistrictHeatingCooling_Validation_IdealSmallSystem",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.246/2.246, allocations: 248.7 MB / 256.2 MB, free: 7.074 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.001481/0.001481, allocations: 186.1 kB / 315.4 MB, free: 4 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.16/2.16, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 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.001096/0.001096, allocations: 89.66 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.738e-05/2.742e-05, allocations: 7.984 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2208, allocations: 106.2 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.134/2.355, allocations: 479 MB / 1.352 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003403/2.355, allocations: 86.64 kB / 1.352 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 30.19/32.55, allocations: 5.214 GB / 6.566 GB, free: 54.35 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.325e-06/32.55, allocations: 0 / 6.566 GB, free: 54.35 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.002825/32.55, allocations: 320.7 kB / 6.566 GB, free: 54.29 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1809 * Number of variables: 1809 Notification: Performance of Generate backend data structure: time 0.04117/32.59, allocations: 10.63 MB / 6.576 GB, free: 49.64 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/32.59, allocations: 8.969 kB / 6.576 GB, free: 49.64 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02143/32.61, allocations: 2.48 MB / 6.579 GB, free: 48.93 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07988/32.69, allocations: 19.04 MB / 6.597 GB, free: 46.91 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006629/32.69, allocations: 237.1 kB / 6.598 GB, free: 46.91 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003396/32.69, allocations: 459 kB / 6.598 GB, free: 46.9 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02289/32.72, allocations: 5.554 MB / 6.604 GB, free: 46.87 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02873/32.75, allocations: 7.216 MB / 6.611 GB, free: 45.68 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003084/32.75, allocations: 17.94 kB / 6.611 GB, free: 45.68 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001876/32.75, allocations: 14.22 kB / 6.611 GB, free: 45.68 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000256/32.75, allocations: 204.5 kB / 6.611 GB, free: 45.68 MB / 1.135 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.08887/32.84, allocations: 44.96 MB / 6.655 GB, free: 19.88 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/32.85, allocations: 3.622 MB / 6.658 GB, free: 19.83 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00502/32.85, allocations: 2.011 MB / 6.66 GB, free: 19.79 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02921/32.88, allocations: 9.439 MB / 6.669 GB, free: 31.95 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0053/32.89, allocations: 1.828 MB / 6.671 GB, free: 31.85 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007995/32.9, allocations: 0.5378 MB / 6.672 GB, free: 31.68 MB / 1.151 GB Notification: Performance of pre-optimization done (n=339): time 2.907e-05/32.9, allocations: 2.469 kB / 6.672 GB, free: 31.68 MB / 1.151 GB Notification: Performance of matching and sorting (n=339): time 0.01725/32.91, allocations: 4.379 MB / 6.676 GB, free: 30.95 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.101e-05/32.91, allocations: 87.45 kB / 6.676 GB, free: 30.88 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02315/32.94, allocations: 7.611 MB / 6.684 GB, free: 30.29 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001441/32.94, allocations: 36.83 kB / 6.684 GB, free: 30.26 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.009258/32.95, allocations: 5.528 MB / 6.689 GB, free: 28.68 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.002227/32.95, allocations: 1.126 MB / 6.69 GB, free: 27.94 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004928/32.95, allocations: 0 / 6.69 GB, free: 27.94 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000438/32.95, allocations: 495.9 kB / 6.691 GB, free: 27.63 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003841/32.96, allocations: 1.465 MB / 6.692 GB, free: 27.61 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005482/32.96, allocations: 3.546 MB / 6.695 GB, free: 25.01 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009324/32.97, allocations: 2.349 MB / 6.698 GB, free: 24.95 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.832e-05/32.97, allocations: 14.19 kB / 6.698 GB, free: 24.95 MB / 1.151 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.02201/32.99, allocations: 5.909 MB / 6.703 GB, free: 24.24 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.01446/33.01, allocations: 31.15 MB / 6.734 GB, free: 23.14 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000249/33.01, allocations: 53 kB / 6.734 GB, free: 23.14 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00206/33.01, allocations: 495.1 kB / 6.734 GB, free: 23.07 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008822/33.02, allocations: 1.118 MB / 6.736 GB, free: 23.07 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009424/33.03, allocations: 8.218 MB / 6.744 GB, free: 16.35 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01469/33.04, allocations: 0.613 MB / 6.744 GB, free: 16.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001692/33.04, allocations: 266.4 kB / 6.744 GB, free: 16.3 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/33.04, allocations: 6.906 kB / 6.744 GB, free: 16.3 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01918/33.06, allocations: 4.708 MB / 6.749 GB, free: 16.09 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001996/33.06, allocations: 49.62 kB / 6.749 GB, free: 16.09 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001959/33.07, allocations: 496.1 kB / 6.75 GB, free: 16.01 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008357/33.07, allocations: 1.084 MB / 6.751 GB, free: 16 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009653/33.08, allocations: 8.226 MB / 6.759 GB, free: 9.277 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01384/33.1, allocations: 0.5954 MB / 6.759 GB, free: 9.18 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001541/33.1, allocations: 259.4 kB / 6.759 GB, free: 9.176 MB / 1.182 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: coo1.hex.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hea2.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hea1.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 238 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.QCoo2.nextTimeEvent,$whenCondition3,$PRE.QCoo1.nextTimeEvent,$whenCondition2,$PRE.QHea2.nextTimeEvent,$whenCondition1,$PRE.QHea1.nextTimeEvent,QHea1.nextTimeEvent,$PRE.QHea1.nextTimeEventScaled,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,$PRE.QHea2.nextTimeEventScaled,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,$PRE.QCoo1.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,$PRE.QCoo2.nextTimeEventScaled,QCoo2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (580): * Single equations (assignments): 566 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002539/33.1, allocations: 298.6 kB / 6.76 GB, free: 9.031 MB / 1.182 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01724/33.12, allocations: 4.209 MB / 6.764 GB, free: 8.305 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004227/33.12, allocations: 0.9594 MB / 6.765 GB, free: 7.789 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02173/33.15, allocations: 4.931 MB / 6.77 GB, free: 7.383 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.282e-05/33.15, allocations: 43.31 kB / 6.77 GB, free: 7.383 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.6e-05/33.15, allocations: 2.375 kB / 6.77 GB, free: 7.383 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01409/33.16, allocations: 3.437 MB / 6.773 GB, free: 7.141 MB / 1.182 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 postOpt removeSimpleEquations (simulation): time 0.04454/33.2, allocations: 11.31 MB / 6.784 GB, free: 6.473 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.898e-05/33.2, allocations: 5.531 kB / 6.784 GB, free: 6.473 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006876/33.21, allocations: 0.71 MB / 6.785 GB, free: 6.461 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001832/33.21, allocations: 419.6 kB / 6.785 GB, free: 6.379 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009029/33.21, allocations: 67.53 kB / 6.785 GB, free: 6.379 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00912/33.22, allocations: 8.115 MB / 6.793 GB, free: 15.66 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/33.22, allocations: 3.469 kB / 6.793 GB, free: 15.66 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02288/33.25, allocations: 6.77 MB / 6.8 GB, free: 14.56 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0088/33.25, allocations: 1.702 MB / 6.801 GB, free: 13.94 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004405/33.26, allocations: 12.75 kB / 6.801 GB, free: 13.94 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01389/33.27, allocations: 0.5877 MB / 6.802 GB, free: 13.85 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001036/33.27, allocations: 228.1 kB / 6.802 GB, free: 13.84 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008442/33.28, allocations: 190.5 kB / 6.802 GB, free: 13.84 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.01756/33.29, allocations: 5.712 MB / 6.808 GB, free: 13.55 MB / 1.198 GB Notification: Performance of sort global known variables: time 6.41e-07/33.29, allocations: 0 / 6.808 GB, free: 13.55 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.03434/33.33, allocations: 5.53 MB / 6.813 GB, free: 12.68 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (pla.coo.outCon.T,pla.hea.outCon.T,pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,spl4.vol.dynBal.U,spl5.vol.dynBal.U) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,QHea1.nextTimeEvent,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,QCoo2.nextTimeEventScaled) * Number of discrete states: 8 (QCoo2.nextTimeEvent,QCoo1.nextTimeEvent,QHea2.nextTimeEvent,QHea1.nextTimeEvent,QCoo2.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QHea2.nextTimeEventScaled,QHea1.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (342): * Single equations (assignments): 311 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0373/33.36, allocations: 13.82 MB / 6.827 GB, free: 7.668 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.02083/33.39, allocations: 7.251 MB / 6.834 GB, free: 6.887 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/33.39, allocations: 6.281 kB / 6.834 GB, free: 6.883 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.005993/33.39, allocations: 2.088 MB / 6.836 GB, free: 6.586 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03809/33.43, allocations: 4.682 MB / 6.841 GB, free: 6.289 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06436/33.49, allocations: 16.92 MB / 6.857 GB, free: 1.801 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01283/33.51, allocations: 5.662 MB / 6.863 GB, free: 0.7344 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.03245/33.54, allocations: 3.737 MB / 6.866 GB, free: 248 kB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01208/33.55, allocations: 4.878 MB / 6.871 GB, free: 232 kB / 1.198 GB Notification: Performance of SimCode: time 1.343e-06/33.55, allocations: 0 / 6.871 GB, free: 232 kB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.926/35.48, allocations: 283.5 MB / 7.148 GB, free: 120.6 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000258/35.48, allocations: 202 kB / 7.148 GB, free: 120.3 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.46/56.94, allocations: 0 / 7.148 GB, free: 120.3 MB / 1.229 GB