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.097/2.097, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001518/0.001518, allocations: 172.8 kB / 325.5 MB, free: 2.891 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.311/2.311, allocations: 205.4 MB / 0.5764 GB, free: 20.74 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.00107/0.00107, allocations: 96.25 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004761, allocations: 10.47 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2229, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.382/1.605, allocations: 478.8 MB / 1.366 GB, free: 5.402 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/1.606, allocations: 90.83 kB / 1.366 GB, free: 5.355 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 30.72/32.33, allocations: 5.254 GB / 6.62 GB, free: 45.23 MB / 1.135 GB Notification: Performance of FrontEnd: time 4.379e-06/32.33, allocations: 0 / 6.62 GB, free: 45.23 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.003053/32.33, allocations: 318.3 kB / 6.621 GB, free: 45.14 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.0653/32.4, allocations: 13.7 MB / 6.634 GB, free: 38.74 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/32.4, allocations: 7.719 kB / 6.634 GB, free: 38.74 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005185/32.4, allocations: 0.9341 MB / 6.635 GB, free: 38.66 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02244/32.43, allocations: 2.476 MB / 6.638 GB, free: 37.88 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08169/32.51, allocations: 19.17 MB / 6.656 GB, free: 35.14 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001072/32.51, allocations: 0.5612 MB / 6.657 GB, free: 35.12 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003795/32.51, allocations: 0.7352 MB / 6.657 GB, free: 35.12 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03543/32.55, allocations: 8.523 MB / 6.666 GB, free: 32.73 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004812/32.55, allocations: 26.97 kB / 6.666 GB, free: 32.71 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003118/32.55, allocations: 302.5 kB / 6.666 GB, free: 32.49 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002698/32.55, allocations: 196.9 kB / 6.666 GB, free: 32.48 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02788/32.58, allocations: 6.378 MB / 6.673 GB, free: 29.72 MB / 1.135 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.09898/32.68, allocations: 46.21 MB / 6.718 GB, free: 15.31 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01837/32.7, allocations: 4.034 MB / 6.722 GB, free: 11.31 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04794/32.75, allocations: 9.438 MB / 6.731 GB, free: 1.211 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.223/33.97, allocations: 2.125 MB / 6.733 GB, free: 84.37 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008736/33.98, allocations: 0.6249 MB / 6.734 GB, free: 84.37 MB / 1.167 GB Notification: Performance of pre-optimization done (n=341): time 3.307e-05/33.98, allocations: 0.75 kB / 6.734 GB, free: 84.37 MB / 1.167 GB Notification: Performance of matching and sorting (n=341): time 0.03647/34.01, allocations: 7.14 MB / 6.74 GB, free: 83.18 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.821e-05/34.01, allocations: 90.47 kB / 6.741 GB, free: 83.11 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0302/34.04, allocations: 8.328 MB / 6.749 GB, free: 82.59 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001469/34.05, allocations: 118.7 kB / 6.749 GB, free: 82.56 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01042/34.06, allocations: 5.542 MB / 6.754 GB, free: 82.03 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002579/34.06, allocations: 1.178 MB / 6.755 GB, free: 81.45 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006874/34.06, allocations: 97.28 kB / 6.755 GB, free: 81.45 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000463/34.06, allocations: 499.6 kB / 6.756 GB, free: 81.13 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007823/34.07, allocations: 1.699 MB / 6.758 GB, free: 81.11 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009739/34.08, allocations: 3.846 MB / 6.761 GB, free: 78.49 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009238/34.09, allocations: 2.294 MB / 6.764 GB, free: 78.43 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.745e-05/34.09, allocations: 15.5 kB / 6.764 GB, free: 78.43 MB / 1.167 GB Notification: Performance of matching and sorting (n=614) (initialization): time 0.02816/34.12, allocations: 6.439 MB / 6.77 GB, free: 77.71 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.007114/34.12, allocations: 31.39 MB / 6.801 GB, free: 44.56 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002833/34.12, allocations: 54.48 kB / 6.801 GB, free: 44.56 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002726/34.13, allocations: 0.5269 MB / 6.801 GB, free: 44.48 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00901/34.13, allocations: 1.12 MB / 6.802 GB, free: 44.48 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007697/34.14, allocations: 8.36 MB / 6.81 GB, free: 37.67 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01487/34.16, allocations: 0.7169 MB / 6.811 GB, free: 37.63 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00175/34.16, allocations: 268.2 kB / 6.811 GB, free: 37.63 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/34.16, allocations: 3 kB / 6.811 GB, free: 37.63 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02149/34.18, allocations: 5.393 MB / 6.817 GB, free: 37.45 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002304/34.18, allocations: 51.81 kB / 6.817 GB, free: 37.45 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002528/34.18, allocations: 0.531 MB / 6.817 GB, free: 37.38 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008488/34.19, allocations: 1.086 MB / 6.818 GB, free: 37.38 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007723/34.2, allocations: 8.362 MB / 6.826 GB, free: 30.57 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01425/34.21, allocations: 0.7005 MB / 6.827 GB, free: 30.54 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001642/34.22, allocations: 254.8 kB / 6.827 GB, free: 30.54 MB / 1.167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (582): * Single equations (assignments): 568 * 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.0108/34.23, allocations: 2.571 MB / 6.83 GB, free: 30.34 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00425/34.23, allocations: 0.9736 MB / 6.831 GB, free: 29.82 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02642/34.26, allocations: 5.432 MB / 6.836 GB, free: 29.47 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.777e-05/34.26, allocations: 45.33 kB / 6.836 GB, free: 29.47 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.721e-05/34.26, allocations: 2.281 kB / 6.836 GB, free: 29.47 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01726/34.27, allocations: 3.865 MB / 6.84 GB, free: 29.23 MB / 1.167 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.05194/34.33, allocations: 12.62 MB / 6.852 GB, free: 28.48 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.095e-05/34.33, allocations: 4.281 kB / 6.852 GB, free: 28.48 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006993/34.33, allocations: 0.7101 MB / 6.853 GB, free: 28.48 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002424/34.34, allocations: 462.8 kB / 6.853 GB, free: 28.41 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001152/34.34, allocations: 113.4 kB / 6.853 GB, free: 28.41 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009077/34.35, allocations: 8.264 MB / 6.862 GB, free: 37.6 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/34.35, allocations: 2 kB / 6.862 GB, free: 37.6 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03076/34.38, allocations: 7.471 MB / 6.869 GB, free: 36.5 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008905/34.39, allocations: 1.709 MB / 6.871 GB, free: 35.88 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00383/34.39, allocations: 75.8 kB / 6.871 GB, free: 35.88 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01339/34.4, allocations: 0.6401 MB / 6.871 GB, free: 35.86 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001119/34.4, allocations: 231.6 kB / 6.871 GB, free: 35.85 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008261/34.41, allocations: 187.5 kB / 6.872 GB, free: 35.85 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.02057/34.43, allocations: 6.405 MB / 6.878 GB, free: 35.56 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.233e-06/34.43, allocations: 0 / 6.878 GB, free: 35.56 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.03535/34.46, allocations: 5.747 MB / 6.883 GB, free: 35.24 MB / 1.182 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (344): * Single equations (assignments): 313 * 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.04526/34.51, allocations: 14.81 MB / 6.898 GB, free: 30.93 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.02859/34.54, allocations: 7.822 MB / 6.906 GB, free: 30.38 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/34.54, allocations: 3.531 kB / 6.906 GB, free: 30.38 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.009016/34.54, allocations: 2.355 MB / 6.908 GB, free: 30.12 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03993/34.58, allocations: 4.859 MB / 6.913 GB, free: 30.06 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1042/34.69, allocations: 76.86 MB / 6.988 GB, free: 13.3 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01454/34.7, allocations: 5.645 MB / 6.993 GB, free: 12.26 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.02288/34.73, allocations: 2.58 MB / 6.996 GB, free: 11.91 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01494/34.74, allocations: 5.084 MB / 7.001 GB, free: 11.9 MB / 1.229 GB Notification: Performance of SimCode: time 1.774e-06/34.74, allocations: 0 / 7.001 GB, free: 11.9 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.215/37.96, allocations: 310.8 MB / 7.304 GB, free: 139.7 MB / 1.245 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/37.96, allocations: 282.6 kB / 7.304 GB, free: 139.4 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.45/57.41, allocations: 0.75 kB / 7.304 GB, free: 139.4 MB / 1.245 GB