Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.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.SolarCollectors.Validation.EN12975NPanels,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels",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.241/2.241, allocations: 248.7 MB / 256.2 MB, free: 7.035 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.001519/0.001519, allocations: 178.4 kB / 315.4 MB, free: 4.004 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.144/2.144, allocations: 205.3 MB / 0.5662 GB, free: 0.5586 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.00114/0.00114, allocations: 91.86 kB / 0.6704 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.599e-05/3.595e-05, allocations: 7.984 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.223, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.1/8.323, allocations: 2.473 GB / 3.357 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/8.323, allocations: 98.73 kB / 3.357 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 22.26/30.59, allocations: 4.039 GB / 7.396 GB, free: 89.14 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.324e-06/30.59, allocations: 0 / 7.396 GB, free: 89.14 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.004785/30.59, allocations: 0.5656 MB / 7.397 GB, free: 89.05 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4481 * Number of variables: 4481 Notification: Performance of Generate backend data structure: time 0.08205/30.67, allocations: 17.96 MB / 7.414 GB, free: 82.76 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/30.67, allocations: 9.562 kB / 7.414 GB, free: 82.76 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03578/30.71, allocations: 3.69 MB / 7.418 GB, free: 81.47 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1195/30.83, allocations: 28.6 MB / 7.446 GB, free: 79.03 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001323/30.83, allocations: 0.5242 MB / 7.446 GB, free: 79.03 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009042/30.84, allocations: 0.9722 MB / 7.447 GB, free: 79.02 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06337/30.9, allocations: 19.36 MB / 7.466 GB, free: 78.94 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08582/30.99, allocations: 22 MB / 7.488 GB, free: 76.31 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001484/30.99, allocations: 67.59 kB / 7.488 GB, free: 76.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008568/31, allocations: 29.84 kB / 7.488 GB, free: 76.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001275/31, allocations: 0.8771 MB / 7.489 GB, free: 76.26 MB / 0.9323 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.2413/31.24, allocations: 95.11 MB / 7.581 GB, free: 39.57 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04119/31.28, allocations: 14.53 MB / 7.596 GB, free: 38.95 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01879/31.3, allocations: 7.498 MB / 7.603 GB, free: 36.72 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004018/31.31, allocations: 2.022 MB / 7.605 GB, free: 34.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02147/31.33, allocations: 7.34 MB / 7.612 GB, free: 32.18 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1020): time 2.001e-05/31.33, allocations: 0 / 7.612 GB, free: 32.18 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1020): time 0.2825/31.61, allocations: 21.97 MB / 7.634 GB, free: 23.62 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002131/31.61, allocations: 426.9 kB / 7.634 GB, free: 23.13 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04288/31.65, allocations: 14.77 MB / 7.648 GB, free: 10.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.003618/31.66, allocations: 33.7 kB / 7.648 GB, free: 10.46 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.01674/31.67, allocations: 9.599 MB / 7.658 GB, free: 1.75 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.008836/31.68, allocations: 3.439 MB / 7.661 GB, free: 14.57 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003528/31.69, allocations: 0 / 7.661 GB, free: 14.57 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.001902/31.69, allocations: 0.8329 MB / 7.662 GB, free: 13.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0202/31.71, allocations: 6.02 MB / 7.668 GB, free: 8.621 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02593/31.73, allocations: 9.554 MB / 7.677 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2666/32, allocations: 17.48 MB / 7.694 GB, free: 1.648 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001741/32, allocations: 32 kB / 7.694 GB, free: 1.617 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1636) (initialization): time 1.16/33.16, allocations: 29.06 MB / 7.723 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.019/33.18, allocations: 67.9 MB / 7.789 GB, free: 69.24 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005214/33.18, allocations: 107 kB / 7.789 GB, free: 69.24 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005453/33.18, allocations: 186.6 kB / 7.789 GB, free: 69.24 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03466/33.22, allocations: 3.468 MB / 7.793 GB, free: 69.24 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005121/33.22, allocations: 242 kB / 7.793 GB, free: 69.24 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03642/33.25, allocations: 1.932 MB / 7.795 GB, free: 69.24 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00514/33.26, allocations: 0.6193 MB / 7.795 GB, free: 69.24 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/33.26, allocations: 3.688 kB / 7.795 GB, free: 69.24 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2924/33.55, allocations: 24.81 MB / 7.82 GB, free: 68.97 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004345/33.55, allocations: 106.8 kB / 7.82 GB, free: 68.97 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002798/33.55, allocations: 188.7 kB / 7.82 GB, free: 68.97 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03245/33.58, allocations: 3.468 MB / 7.823 GB, free: 68.97 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003554/33.58, allocations: 244.4 kB / 7.824 GB, free: 68.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03199/33.62, allocations: 1.689 MB / 7.825 GB, free: 68.85 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004654/33.62, allocations: 0.6173 MB / 7.826 GB, free: 68.85 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 483 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1636): * Single equations (assignments): 1636 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008521/33.63, allocations: 457.4 kB / 7.826 GB, free: 68.75 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.3036/33.93, allocations: 21.97 MB / 7.848 GB, free: 67.64 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009357/33.94, allocations: 1.511 MB / 7.849 GB, free: 66.85 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2903/34.23, allocations: 23.75 MB / 7.872 GB, free: 65.64 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.964e-05/34.23, allocations: 100.1 kB / 7.872 GB, free: 65.64 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.398e-05/34.23, allocations: 0 / 7.872 GB, free: 65.64 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2741/34.51, allocations: 20.67 MB / 7.893 GB, free: 64.71 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3532/34.86, allocations: 43.69 MB / 7.935 GB, free: 62.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.184e-05/34.86, allocations: 14.72 kB / 7.935 GB, free: 62.43 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02743/34.89, allocations: 2.459 MB / 7.938 GB, free: 62.39 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002046/34.89, allocations: 51.72 kB / 7.938 GB, free: 62.39 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003411/34.89, allocations: 227.7 kB / 7.938 GB, free: 62.39 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000159/34.89, allocations: 57.53 kB / 7.938 GB, free: 62.39 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-05/34.89, allocations: 24.41 kB / 7.938 GB, free: 62.39 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3125/35.2, allocations: 36.72 MB / 7.974 GB, free: 69.2 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02032/35.22, allocations: 4.322 MB / 7.978 GB, free: 68.31 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00982/35.23, allocations: 74 kB / 7.978 GB, free: 68.31 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03083/35.27, allocations: 1.003 MB / 7.979 GB, free: 68.17 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003662/35.27, allocations: 0.6215 MB / 7.98 GB, free: 68.14 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004151/35.27, allocations: 0.4991 MB / 7.98 GB, free: 68.14 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.03236/35.31, allocations: 11.35 MB / 7.991 GB, free: 67.74 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7.11e-07/35.31, allocations: 0 / 7.991 GB, free: 67.74 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.05803/35.36, allocations: 10.26 MB / 8.001 GB, free: 59.82 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * Number of states: 60 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,solCol.vol[10].dynBal.U,solCol.vol[11].dynBal.U,solCol.vol[12].dynBal.U,solCol.vol[13].dynBal.U,solCol.vol[14].dynBal.U,solCol.vol[15].dynBal.U,solCol.vol[16].dynBal.U,solCol.vol[17].dynBal.U,solCol.vol[18].dynBal.U,solCol.vol[19].dynBal.U,solCol.vol[20].dynBal.U,solCol.vol[21].dynBal.U,solCol.vol[22].dynBal.U,solCol.vol[23].dynBal.U,solCol.vol[24].dynBal.U,solCol.vol[25].dynBal.U,solCol.vol[26].dynBal.U,solCol.vol[27].dynBal.U,solCol.vol[28].dynBal.U,solCol.vol[29].dynBal.U,solCol.vol[30].dynBal.U,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,solCol1.vol[28].dynBal.U,solCol1.vol[29].dynBal.U,solCol1.vol[30].dynBal.U) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1040): * Single equations (assignments): 1034 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3122/35.68, allocations: 39.43 MB / 8.04 GB, free: 33.44 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.06254/35.74, allocations: 22.71 MB / 8.062 GB, free: 14.71 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.021e-05/35.74, allocations: 16.2 kB / 8.062 GB, free: 14.7 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0177/35.76, allocations: 6.254 MB / 8.068 GB, free: 9.125 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0817/35.84, allocations: 9.273 MB / 8.077 GB, free: 2.586 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.701/37.54, allocations: 44 MB / 8.12 GB, free: 138.7 MB / 0.9949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03343/37.57, allocations: 13.18 MB / 8.133 GB, free: 137.3 MB / 0.9949 GB Notification: Performance of simCode: alias equations: time 0.09863/37.67, allocations: 16.18 MB / 8.149 GB, free: 134.5 MB / 0.9949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03015/37.7, allocations: 8.684 MB / 8.157 GB, free: 134.5 MB / 0.9949 GB Notification: Performance of SimCode: time 1.502e-06/37.7, allocations: 4.219 kB / 8.157 GB, free: 134.5 MB / 0.9949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.741/40.44, allocations: 479.5 MB / 8.626 GB, free: 142.2 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/40.44, allocations: 191.2 kB / 8.626 GB, free: 142 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.1/71.54, allocations: 3.781 kB / 8.626 GB, free: 142 MB / 1.026 GB