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.49/1.49, allocations: 249.5 MB / 257 MB, free: 6.953 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.001234/0.001233, allocations: 191.2 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.688/1.688, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008992/0.0008992, allocations: 86.53 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.205e-05/2.206e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2125, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.079/6.291, allocations: 2.476 GB / 3.361 GB, free: 274.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/6.292, allocations: 87.95 kB / 3.361 GB, free: 274.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.229/11.52, allocations: 1.434 GB / 4.795 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.476e-06/11.52, allocations: 0 / 4.795 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001113/11.52, allocations: 193.5 kB / 4.795 GB, free: 100.6 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.02375/11.55, allocations: 6.554 MB / 4.801 GB, free: 97.89 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/11.55, allocations: 10.36 kB / 4.801 GB, free: 97.89 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01651/11.56, allocations: 2.464 MB / 4.804 GB, free: 97.45 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0207/11.58, allocations: 7.839 MB / 4.811 GB, free: 96.32 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004576/11.58, allocations: 184.7 kB / 4.811 GB, free: 96.32 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002779/11.59, allocations: 346.2 kB / 4.812 GB, free: 96.32 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01731/11.6, allocations: 6.839 MB / 4.818 GB, free: 93.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02596/11.63, allocations: 6.973 MB / 4.825 GB, free: 91.04 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003905/11.63, allocations: 14.03 kB / 4.825 GB, free: 91.03 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002479/11.63, allocations: 7.906 kB / 4.825 GB, free: 91.03 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002768/11.63, allocations: 262.9 kB / 4.826 GB, free: 91 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.0634/11.7, allocations: 30.03 MB / 4.855 GB, free: 72.73 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008673/11.7, allocations: 5.074 MB / 4.86 GB, free: 70.42 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004268/11.71, allocations: 2.569 MB / 4.862 GB, free: 69.34 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002358/11.71, allocations: 2.406 MB / 4.865 GB, free: 66.76 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00559/11.72, allocations: 2.769 MB / 4.867 GB, free: 65.46 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=421): time 8.326e-06/11.72, allocations: 0 / 4.867 GB, free: 65.46 MB / 0.8855 GB Notification: Performance of matching and sorting (n=421): time 0.1616/11.88, allocations: 17.23 MB / 4.884 GB, free: 54.26 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/11.88, allocations: 385.4 kB / 4.885 GB, free: 53.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007727/11.89, allocations: 4.507 MB / 4.889 GB, free: 49.32 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001341/11.89, allocations: 29.7 kB / 4.889 GB, free: 49.29 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00286/11.89, allocations: 3.121 MB / 4.892 GB, free: 46.14 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002084/11.89, allocations: 1.37 MB / 4.893 GB, free: 44.75 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/11.89, allocations: 0 / 4.893 GB, free: 44.75 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002163/11.89, allocations: 483.5 kB / 4.894 GB, free: 44.27 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002879/11.9, allocations: 2.031 MB / 4.896 GB, free: 42.23 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003226/11.9, allocations: 2.984 MB / 4.899 GB, free: 38.86 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1542/12.05, allocations: 15.03 MB / 4.913 GB, free: 23.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.708e-05/12.05, allocations: 8 kB / 4.913 GB, free: 23.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=562) (initialization): time 0.1582/12.21, allocations: 18.16 MB / 4.931 GB, free: 5.605 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.003613/12.22, allocations: 10.59 MB / 4.942 GB, free: 10.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-05/12.22, allocations: 22.31 kB / 4.942 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.536e-05/12.22, allocations: 48 kB / 4.942 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008151/12.22, allocations: 1.275 MB / 4.943 GB, free: 8.758 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.875e-05/12.22, allocations: 51.86 kB / 4.943 GB, free: 8.707 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009167/12.23, allocations: 0.6788 MB / 4.944 GB, free: 8.023 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001855/12.24, allocations: 227.8 kB / 4.944 GB, free: 7.801 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/12.24, allocations: 4 kB / 4.944 GB, free: 7.797 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1662/12.4, allocations: 17.58 MB / 4.961 GB, free: 6.195 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-05/12.4, allocations: 27.98 kB / 4.961 GB, free: 6.168 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.078e-05/12.4, allocations: 48.16 kB / 4.961 GB, free: 6.121 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00706/12.41, allocations: 1.271 MB / 4.962 GB, free: 4.848 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.921e-05/12.41, allocations: 55.86 kB / 4.962 GB, free: 4.793 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008167/12.42, allocations: 0.617 MB / 4.963 GB, free: 4.172 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001403/12.42, allocations: 233.8 kB / 4.963 GB, free: 3.945 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.00138/12.42, allocations: 205.4 kB / 4.963 GB, free: 3.738 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.8314/13.25, allocations: 17.22 MB / 4.98 GB, free: 131.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002487/13.25, allocations: 0.5505 MB / 4.981 GB, free: 131.5 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1701/13.42, allocations: 18.32 MB / 4.999 GB, free: 131.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-05/13.42, allocations: 43.91 kB / 4.999 GB, free: 131.3 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/13.42, allocations: 0 / 4.999 GB, free: 131.3 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1578/13.58, allocations: 16.86 MB / 5.015 GB, free: 130.3 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1807/13.76, allocations: 25.6 MB / 5.04 GB, free: 128.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/13.76, allocations: 9.609 kB / 5.04 GB, free: 128.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005957/13.77, allocations: 1.045 MB / 5.041 GB, free: 128.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.172e-05/13.77, allocations: 23.89 kB / 5.041 GB, free: 128.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006815/13.77, allocations: 94.02 kB / 5.041 GB, free: 128.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.843e-05/13.77, allocations: 29.66 kB / 5.041 GB, free: 128.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.338e-06/13.77, allocations: 9.375 kB / 5.041 GB, free: 128.3 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1766/13.95, allocations: 21.67 MB / 5.062 GB, free: 125.4 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006869/13.95, allocations: 1.595 MB / 5.064 GB, free: 125 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00346/13.96, allocations: 27.34 kB / 5.064 GB, free: 125 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008542/13.97, allocations: 430.5 kB / 5.064 GB, free: 125 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001145/13.97, allocations: 276.1 kB / 5.065 GB, free: 124.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007634/13.97, allocations: 197.1 kB / 5.065 GB, free: 124.9 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.006914/13.97, allocations: 3.479 MB / 5.068 GB, free: 124.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.41e-07/13.97, allocations: 2.156 kB / 5.068 GB, free: 124.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01672/13.99, allocations: 3.487 MB / 5.072 GB, free: 124.5 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.1753/14.17, allocations: 24.97 MB / 5.096 GB, free: 119.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01744/14.18, allocations: 8.026 MB / 5.104 GB, free: 119.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.376e-05/14.18, allocations: 3.906 kB / 5.104 GB, free: 119.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.005712/14.19, allocations: 2.503 MB / 5.106 GB, free: 119.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01725/14.21, allocations: 2.553 MB / 5.109 GB, free: 119.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04628/14.25, allocations: 13 MB / 5.122 GB, free: 116.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008847/14.26, allocations: 4.434 MB / 5.126 GB, free: 115.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.02583/14.29, allocations: 3.822 MB / 5.13 GB, free: 115.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01174/14.3, allocations: 3.019 MB / 5.133 GB, free: 115 MB / 0.9167 GB Notification: Performance of SimCode: time 3.857e-06/14.3, allocations: 0 / 5.133 GB, free: 115 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2802/14.58, allocations: 169.6 MB / 5.298 GB, free: 6.219 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/14.58, allocations: 199.8 kB / 5.298 GB, free: 6.016 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.612/22.19, allocations: 4 kB / 5.298 GB, free: 6.012 MB / 0.9323 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)