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.598/1.598, allocations: 249.3 MB / 261.8 MB, free: 5.93 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.001141/0.001141, allocations: 188.5 kB / 321.3 MB, free: 14.65 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.491/1.491, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0008529/0.000853, allocations: 84.42 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.936e-05/2.949e-05, allocations: 4 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1931, allocations: 106.3 MB / 0.8919 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.334/6.527, allocations: 2.475 GB / 3.367 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/6.527, allocations: 91.95 kB / 3.367 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.738/12.26, allocations: 1.441 GB / 4.808 GB, free: 107 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.427e-06/12.26, allocations: 7.922 kB / 4.808 GB, free: 107 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001231/12.27, allocations: 196.4 kB / 4.808 GB, free: 107 MB / 0.8855 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.02726/12.29, allocations: 6.548 MB / 4.815 GB, free: 102.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 8.587e-05/12.29, allocations: 14.17 kB / 4.815 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005328/12.3, allocations: 0.7839 MB / 4.816 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01835/12.32, allocations: 2.468 MB / 4.818 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02552/12.34, allocations: 7.837 MB / 4.826 GB, free: 95.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005078/12.34, allocations: 443.6 kB / 4.826 GB, free: 95.07 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003115/12.35, allocations: 0.5697 MB / 4.827 GB, free: 94.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02468/12.37, allocations: 7.802 MB / 4.834 GB, free: 86.49 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002319/12.37, allocations: 13.14 kB / 4.834 GB, free: 86.48 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002076/12.37, allocations: 243.6 kB / 4.834 GB, free: 86.24 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002476/12.37, allocations: 267.2 kB / 4.835 GB, free: 85.98 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02058/12.39, allocations: 7.279 MB / 4.842 GB, free: 78.7 MB / 0.8855 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.07004/12.46, allocations: 31.12 MB / 4.872 GB, free: 46.85 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01104/12.48, allocations: 5.309 MB / 4.877 GB, free: 41.54 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005592/12.48, allocations: 2.69 MB / 4.88 GB, free: 38.84 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002715/12.48, allocations: 2.409 MB / 4.882 GB, free: 35.97 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007556/12.49, allocations: 2.904 MB / 4.885 GB, free: 33.04 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=421): time 1.13e-05/12.49, allocations: 3.938 kB / 4.885 GB, free: 33.03 MB / 0.8855 GB Notification: Performance of matching and sorting (n=421): time 0.01577/12.51, allocations: 4.929 MB / 4.89 GB, free: 28.07 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001829/12.51, allocations: 381.4 kB / 4.89 GB, free: 27.62 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01267/12.52, allocations: 5.178 MB / 4.895 GB, free: 22.43 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.002008/12.52, allocations: 109.7 kB / 4.896 GB, free: 22.31 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.004308/12.53, allocations: 3.11 MB / 4.899 GB, free: 19.19 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00347/12.53, allocations: 1.429 MB / 4.9 GB, free: 17.77 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005021/12.53, allocations: 92 kB / 4.9 GB, free: 17.68 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0004026/12.53, allocations: 475.5 kB / 4.901 GB, free: 17.21 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003666/12.54, allocations: 2.121 MB / 4.903 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004191/12.54, allocations: 3.104 MB / 4.906 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004081/12.54, allocations: 2.572 MB / 4.908 GB, free: 9.004 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.815e-05/12.54, allocations: 8 kB / 4.908 GB, free: 8.996 MB / 0.8855 GB Notification: Performance of matching and sorting (n=562) (initialization): time 0.01217/12.56, allocations: 6.011 MB / 4.914 GB, free: 2.965 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.004872/12.56, allocations: 10.82 MB / 4.925 GB, free: 7.465 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-05/12.56, allocations: 20 kB / 4.925 GB, free: 7.445 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001018/12.56, allocations: 48 kB / 4.925 GB, free: 7.398 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008398/12.57, allocations: 1.272 MB / 4.926 GB, free: 6.125 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001276/12.57, allocations: 55.8 kB / 4.926 GB, free: 6.07 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01054/12.58, allocations: 0.8187 MB / 4.927 GB, free: 5.246 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001954/12.58, allocations: 223.8 kB / 4.927 GB, free: 5.027 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/12.58, allocations: 4 kB / 4.927 GB, free: 5.023 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01899/12.6, allocations: 5.488 MB / 4.932 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001093/12.6, allocations: 23.94 kB / 4.932 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.974e-05/12.6, allocations: 48 kB / 4.932 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008602/12.61, allocations: 1.276 MB / 4.934 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001517/12.61, allocations: 55.86 kB / 4.934 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01017/12.62, allocations: 0.7608 MB / 4.934 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001985/12.62, allocations: 223.8 kB / 4.935 GB, free: 13.14 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 () * 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.003579/12.63, allocations: 370.1 kB / 4.935 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003767/12.63, allocations: 0.5942 MB / 4.936 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02276/12.65, allocations: 6.146 MB / 4.942 GB, free: 6.008 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-05/12.65, allocations: 44 kB / 4.942 GB, free: 5.965 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-05/12.65, allocations: 0 / 4.942 GB, free: 5.965 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01357/12.67, allocations: 4.566 MB / 4.946 GB, free: 1.363 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8966/13.56, allocations: 14.15 MB / 4.96 GB, free: 139.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.372e-05/13.56, allocations: 6.875 kB / 4.96 GB, free: 139.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006592/13.57, allocations: 1.043 MB / 4.961 GB, free: 139.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.588e-05/13.57, allocations: 23.97 kB / 4.961 GB, free: 139.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009453/13.57, allocations: 143.6 kB / 4.961 GB, free: 139.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.531e-05/13.57, allocations: 31.06 kB / 4.961 GB, free: 139.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/13.57, allocations: 11.41 kB / 4.961 GB, free: 139.3 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01963/13.59, allocations: 9.698 MB / 4.971 GB, free: 137.4 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007473/13.6, allocations: 1.665 MB / 4.972 GB, free: 137.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003221/13.6, allocations: 96.72 kB / 4.972 GB, free: 137.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009128/13.61, allocations: 0.5026 MB / 4.973 GB, free: 137.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00146/13.61, allocations: 283.5 kB / 4.973 GB, free: 137.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001315/13.61, allocations: 196.5 kB / 4.973 GB, free: 137.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01312/13.63, allocations: 4.235 MB / 4.977 GB, free: 136.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8.62e-07/13.63, allocations: 1.25 kB / 4.977 GB, free: 136.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.02335/13.65, allocations: 3.631 MB / 4.981 GB, free: 136.6 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) * 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.02699/13.68, allocations: 12.87 MB / 4.994 GB, free: 132.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0217/13.7, allocations: 8.4 MB / 5.002 GB, free: 132.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.587e-05/13.7, allocations: 4.438 kB / 5.002 GB, free: 132.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.007075/13.71, allocations: 2.599 MB / 5.004 GB, free: 132.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0214/13.73, allocations: 3.155 MB / 5.007 GB, free: 132.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05474/13.78, allocations: 13.56 MB / 5.021 GB, free: 130 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01067/13.79, allocations: 4.445 MB / 5.025 GB, free: 129.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.02889/13.82, allocations: 4.084 MB / 5.029 GB, free: 129 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007971/13.83, allocations: 3.031 MB / 5.032 GB, free: 129 MB / 0.9167 GB Notification: Performance of SimCode: time 2.835e-06/13.83, allocations: 3.062 kB / 5.032 GB, free: 129 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3711/14.2, allocations: 194.2 MB / 5.222 GB, free: 37.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/14.2, allocations: 217.2 kB / 5.222 GB, free: 37.18 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/24.32, allocations: 3.938 kB / 5.222 GB, free: 37.17 MB / 0.9167 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)