Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.514/1.514, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001148/0.001148, allocations: 181.9 kB / 326.5 MB, free: 2.246 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.387/2.387, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.001406/0.001405, allocations: 101.7 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004653, allocations: 9.906 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3224, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.318/7.641, allocations: 2.475 GB / 3.376 GB, free: 32.71 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/7.641, allocations: 96.2 kB / 3.376 GB, free: 32.66 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.972/13.61, allocations: 1.445 GB / 4.821 GB, free: 84.35 MB / 0.9167 GB Notification: Performance of FrontEnd: time 4.659e-06/13.61, allocations: 3.75 kB / 4.821 GB, free: 84.35 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.00131/13.61, allocations: 193.4 kB / 4.821 GB, free: 84.32 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.02871/13.64, allocations: 7.839 MB / 4.829 GB, free: 81.33 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/13.64, allocations: 10.66 kB / 4.829 GB, free: 81.33 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004997/13.65, allocations: 0.799 MB / 4.829 GB, free: 81.25 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01759/13.67, allocations: 2.471 MB / 4.832 GB, free: 80.81 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02722/13.69, allocations: 7.874 MB / 4.839 GB, free: 79.84 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007931/13.69, allocations: 445.5 kB / 4.84 GB, free: 79.83 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003561/13.7, allocations: 0.5696 MB / 4.84 GB, free: 79.83 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02974/13.73, allocations: 8.488 MB / 4.849 GB, free: 79.07 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003505/13.73, allocations: 25.84 kB / 4.849 GB, free: 79.06 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00279/13.73, allocations: 244.6 kB / 4.849 GB, free: 79.06 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000272/13.73, allocations: 264.4 kB / 4.849 GB, free: 79.05 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02952/13.76, allocations: 8.594 MB / 4.858 GB, free: 79 MB / 0.9167 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.06213/13.82, allocations: 31.13 MB / 4.888 GB, free: 68.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01486/13.84, allocations: 6.147 MB / 4.894 GB, free: 68.21 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002485/13.84, allocations: 2.404 MB / 4.896 GB, free: 65.68 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009328/13.85, allocations: 3.308 MB / 4.9 GB, free: 65.54 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=421): time 9.648e-06/13.85, allocations: 0 / 4.9 GB, free: 65.54 MB / 0.9167 GB Notification: Performance of matching and sorting (n=421): time 0.02606/13.88, allocations: 8.082 MB / 4.907 GB, free: 65.09 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/13.88, allocations: 381.8 kB / 4.908 GB, free: 64.68 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01153/13.89, allocations: 5.24 MB / 4.913 GB, free: 64.29 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001692/13.89, allocations: 109.6 kB / 4.913 GB, free: 64.26 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003849/13.89, allocations: 3.107 MB / 4.916 GB, free: 63.23 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002631/13.9, allocations: 1.422 MB / 4.917 GB, free: 62.32 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005443/13.9, allocations: 85.69 kB / 4.918 GB, free: 62.32 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003514/13.9, allocations: 487.8 kB / 4.918 GB, free: 62.01 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006554/13.9, allocations: 2.523 MB / 4.92 GB, free: 61.99 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008153/13.91, allocations: 3.514 MB / 4.924 GB, free: 60.97 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008364/13.92, allocations: 2.977 MB / 4.927 GB, free: 60.93 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.209e-05/13.92, allocations: 7.031 kB / 4.927 GB, free: 60.93 MB / 0.9167 GB Notification: Performance of matching and sorting (n=562) (initialization): time 0.02167/13.94, allocations: 6.838 MB / 4.934 GB, free: 60.51 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002321/13.94, allocations: 10.82 MB / 4.944 GB, free: 49.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.885e-05/13.94, allocations: 22.28 kB / 4.944 GB, free: 49.33 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.411e-05/13.94, allocations: 52.92 kB / 4.944 GB, free: 49.33 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008138/13.95, allocations: 1.268 MB / 4.945 GB, free: 49.33 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001213/13.95, allocations: 63.05 kB / 4.945 GB, free: 49.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01018/13.96, allocations: 0.8089 MB / 4.946 GB, free: 49.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001866/13.96, allocations: 225 kB / 4.946 GB, free: 49.07 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/13.96, allocations: 3.469 kB / 4.946 GB, free: 49.07 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01992/13.98, allocations: 6.317 MB / 4.953 GB, free: 48.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-05/13.98, allocations: 23.22 kB / 4.953 GB, free: 48.98 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.163e-05/13.98, allocations: 46.56 kB / 4.953 GB, free: 48.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007901/13.99, allocations: 1.274 MB / 4.954 GB, free: 48.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001176/13.99, allocations: 63.3 kB / 4.954 GB, free: 48.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009903/14, allocations: 0.7585 MB / 4.955 GB, free: 48.76 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001969/14, allocations: 222.9 kB / 4.955 GB, free: 48.76 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (562): * Single equations (assignments): 562 * 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.007674/14.01, allocations: 2.093 MB / 4.957 GB, free: 48.56 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002686/14.01, allocations: 0.5887 MB / 4.958 GB, free: 48.25 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02226/14.04, allocations: 6.967 MB / 4.964 GB, free: 47.95 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.864e-05/14.04, allocations: 41.88 kB / 4.964 GB, free: 47.95 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/14.04, allocations: 0 / 4.964 GB, free: 47.95 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01633/14.05, allocations: 5.374 MB / 4.97 GB, free: 47.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04638/14.1, allocations: 15.01 MB / 4.984 GB, free: 46.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.387e-05/14.1, allocations: 5.625 kB / 4.984 GB, free: 46.34 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007006/14.11, allocations: 1.046 MB / 4.985 GB, free: 46.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.6e-05/14.11, allocations: 23 kB / 4.985 GB, free: 46.34 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001413/14.11, allocations: 144.5 kB / 4.985 GB, free: 46.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.081e-05/14.11, allocations: 25.19 kB / 4.986 GB, free: 46.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/14.11, allocations: 6.188 kB / 4.986 GB, free: 46.34 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02614/14.13, allocations: 10.91 MB / 4.996 GB, free: 44.05 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007017/14.14, allocations: 1.67 MB / 4.998 GB, free: 43.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003487/14.15, allocations: 93.75 kB / 4.998 GB, free: 43.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00882/14.15, allocations: 0.5049 MB / 4.998 GB, free: 43.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0013/14.16, allocations: 275.1 kB / 4.999 GB, free: 43.49 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009254/14.16, allocations: 195.7 kB / 4.999 GB, free: 43.49 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01023/14.17, allocations: 4.303 MB / 5.003 GB, free: 43.28 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.01e-07/14.17, allocations: 0 / 5.003 GB, free: 43.28 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01953/14.19, allocations: 3.636 MB / 5.007 GB, free: 42.7 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol2.vol[1].dynBal.U,solCol2.vol[2].dynBal.U,solCol2.vol[3].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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (447): * Single equations (assignments): 437 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.03587/14.22, allocations: 14.12 MB / 5.02 GB, free: 38.59 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02925/14.25, allocations: 9.443 MB / 5.03 GB, free: 38.41 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-05/14.25, allocations: 6.812 kB / 5.03 GB, free: 38.41 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.009602/14.26, allocations: 2.998 MB / 5.033 GB, free: 38.37 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01853/14.28, allocations: 3.146 MB / 5.036 GB, free: 38.2 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1643/14.44, allocations: 71.35 MB / 5.105 GB, free: 3.18 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006979/14.45, allocations: 4.458 MB / 5.11 GB, free: 15.96 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01769/14.47, allocations: 2.917 MB / 5.113 GB, free: 13.99 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009096/14.48, allocations: 3.139 MB / 5.116 GB, free: 11.15 MB / 0.948 GB Notification: Performance of SimCode: time 1.212e-06/14.48, allocations: 0 / 5.116 GB, free: 11.15 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9774/15.46, allocations: 192.1 MB / 5.303 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/15.46, allocations: 234.4 kB / 5.303 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.822/25.28, allocations: 4.906 kB / 5.303 GB, free: 116.7 MB / 0.9636 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1)