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.263/2.263, allocations: 248.5 MB / 261 MB, free: 6.043 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.001541/0.001541, allocations: 179 kB / 320.4 MB, free: 15.35 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.986/1.986, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001119/0.001118, allocations: 90.44 kB / 0.6754 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.56e-05/3.566e-05, allocations: 0 / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2291, allocations: 106.3 MB / 0.8907 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.032/2.261, allocations: 478.7 MB / 1.358 GB, free: 232.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/2.262, allocations: 95.11 kB / 1.358 GB, free: 232 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 29.63/31.89, allocations: 5.238 GB / 6.596 GB, free: 60.97 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.496e-06/31.89, allocations: 0 / 6.596 GB, free: 60.97 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.002898/31.89, allocations: 320.3 kB / 6.596 GB, free: 60.92 MB / 1.151 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.04339/31.93, allocations: 10.63 MB / 6.607 GB, free: 56.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/31.93, allocations: 7.938 kB / 6.607 GB, free: 56.3 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00486/31.94, allocations: 0.9215 MB / 6.608 GB, free: 56.22 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02189/31.96, allocations: 2.477 MB / 6.61 GB, free: 55.51 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08126/32.04, allocations: 19.04 MB / 6.629 GB, free: 53.48 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001135/32.04, allocations: 0.5659 MB / 6.629 GB, free: 53.46 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003709/32.05, allocations: 0.7408 MB / 6.63 GB, free: 53.46 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03461/32.08, allocations: 8.247 MB / 6.638 GB, free: 52.25 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006144/32.08, allocations: 22.09 kB / 6.638 GB, free: 52.25 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003344/32.09, allocations: 304.4 kB / 6.638 GB, free: 52.25 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003368/32.09, allocations: 200.2 kB / 6.638 GB, free: 52.25 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02377/32.11, allocations: 5.927 MB / 6.644 GB, free: 52.18 MB / 1.151 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.09817/32.21, allocations: 46.2 MB / 6.689 GB, free: 26.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0124/32.22, allocations: 3.664 MB / 6.693 GB, free: 26.12 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005949/32.23, allocations: 2.061 MB / 6.695 GB, free: 26.09 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03285/32.26, allocations: 9.59 MB / 6.704 GB, free: 22.28 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006607/32.27, allocations: 1.938 MB / 6.706 GB, free: 22.17 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008747/32.28, allocations: 0.6308 MB / 6.707 GB, free: 21.98 MB / 1.151 GB Notification: Performance of pre-optimization done (n=339): time 2.319e-05/32.28, allocations: 0 / 6.707 GB, free: 21.98 MB / 1.151 GB Notification: Performance of matching and sorting (n=339): time 0.01588/32.29, allocations: 4.171 MB / 6.711 GB, free: 21.25 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.814e-05/32.29, allocations: 86.83 kB / 6.711 GB, free: 21.18 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02677/32.32, allocations: 8.229 MB / 6.719 GB, free: 20.54 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001371/32.32, allocations: 117.4 kB / 6.719 GB, free: 20.51 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.009617/32.33, allocations: 5.552 MB / 6.724 GB, free: 18.96 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.002386/32.33, allocations: 1.181 MB / 6.726 GB, free: 18.22 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000622/32.33, allocations: 93.5 kB / 6.726 GB, free: 18.22 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0004022/32.33, allocations: 492.4 kB / 6.726 GB, free: 17.91 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004879/32.34, allocations: 1.496 MB / 6.728 GB, free: 17.89 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007008/32.34, allocations: 3.645 MB / 6.731 GB, free: 15.27 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006564/32.35, allocations: 2.113 MB / 6.733 GB, free: 15.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.761e-05/32.35, allocations: 18.84 kB / 6.733 GB, free: 15.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.02138/32.37, allocations: 6.024 MB / 6.739 GB, free: 14.48 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.01308/32.39, allocations: 31.28 MB / 6.77 GB, free: 13.39 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002531/32.39, allocations: 55.44 kB / 6.77 GB, free: 13.39 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002603/32.39, allocations: 0.5235 MB / 6.77 GB, free: 13.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009211/32.4, allocations: 1.116 MB / 6.771 GB, free: 13.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009002/32.41, allocations: 8.303 MB / 6.779 GB, free: 6.488 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01566/32.42, allocations: 0.7194 MB / 6.78 GB, free: 6.434 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001539/32.42, allocations: 264.7 kB / 6.78 GB, free: 6.434 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/32.42, allocations: 6.219 kB / 6.78 GB, free: 6.434 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01638/32.44, allocations: 5.022 MB / 6.785 GB, free: 6.234 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001864/32.44, allocations: 56.25 kB / 6.785 GB, free: 6.234 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002464/32.44, allocations: 0.5197 MB / 6.786 GB, free: 6.148 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008645/32.45, allocations: 1.081 MB / 6.787 GB, free: 6.145 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00884/32.46, allocations: 8.31 MB / 6.795 GB, free: 15.31 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01539/32.48, allocations: 0.6953 MB / 6.796 GB, free: 15.21 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001743/32.48, allocations: 252 kB / 6.796 GB, free: 15.21 MB / 1.198 GB 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.002702/32.48, allocations: 444.3 kB / 6.796 GB, free: 15.07 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00369/32.49, allocations: 0.9743 MB / 6.797 GB, free: 14.54 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01637/32.5, allocations: 5.052 MB / 6.802 GB, free: 14.14 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.563e-05/32.5, allocations: 44.55 kB / 6.802 GB, free: 14.14 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/32.5, allocations: 2.812 kB / 6.802 GB, free: 14.14 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009667/32.51, allocations: 3.481 MB / 6.806 GB, free: 13.89 MB / 1.198 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.04065/32.55, allocations: 12.23 MB / 6.818 GB, free: 13.11 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.031e-05/32.55, allocations: 2.375 kB / 6.818 GB, free: 13.11 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00647/32.56, allocations: 0.7059 MB / 6.818 GB, free: 13.07 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002122/32.56, allocations: 460.5 kB / 6.819 GB, free: 12.98 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005141/32.56, allocations: 109.8 kB / 6.819 GB, free: 12.98 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008292/32.57, allocations: 8.215 MB / 6.827 GB, free: 6.117 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/32.57, allocations: 0 / 6.827 GB, free: 6.117 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02002/32.59, allocations: 6.871 MB / 6.834 GB, free: 5 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008608/32.6, allocations: 1.714 MB / 6.835 GB, free: 4.371 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003984/32.6, allocations: 69.86 kB / 6.835 GB, free: 4.371 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0145/32.62, allocations: 0.648 MB / 6.836 GB, free: 4.281 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001038/32.62, allocations: 223.5 kB / 6.836 GB, free: 4.277 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008596/32.62, allocations: 189.6 kB / 6.836 GB, free: 4.277 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.01872/32.64, allocations: 6.304 MB / 6.843 GB, free: 3.941 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.062e-06/32.64, allocations: 0 / 6.843 GB, free: 3.941 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.0326/32.67, allocations: 5.761 MB / 6.848 GB, free: 3.082 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.03656/32.71, allocations: 14.17 MB / 6.862 GB, free: 13.93 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.02078/32.73, allocations: 7.608 MB / 6.869 GB, free: 12.96 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/32.73, allocations: 3.938 kB / 6.869 GB, free: 12.96 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.005829/32.73, allocations: 2.158 MB / 6.872 GB, free: 12.64 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03934/32.77, allocations: 4.856 MB / 6.876 GB, free: 12.33 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0652/32.84, allocations: 17.28 MB / 6.893 GB, free: 7.824 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01302/32.85, allocations: 5.669 MB / 6.899 GB, free: 6.754 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.03296/32.88, allocations: 3.805 MB / 6.902 GB, free: 6.254 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01179/32.9, allocations: 4.883 MB / 6.907 GB, free: 6.238 MB / 1.214 GB Notification: Performance of SimCode: time 1.753e-06/32.9, allocations: 0 / 6.907 GB, free: 6.238 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.004/34.9, allocations: 326.3 MB / 7.226 GB, free: 114.4 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000279/34.9, allocations: 255.7 kB / 7.226 GB, free: 114.1 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.35/58.25, allocations: 0 / 7.226 GB, free: 114.1 MB / 1.229 GB