Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.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.Examples.FlatPlateWithTank,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank",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.484/1.484, allocations: 249.3 MB / 261.8 MB, free: 5.848 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.001417/0.001417, allocations: 184.9 kB / 321.3 MB, free: 14.64 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.607/1.607, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0009701/0.0009701, allocations: 102.4 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.858e-05/3.891e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2192, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.267/7.487, allocations: 2.528 GB / 3.42 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003822/7.487, allocations: 95.95 kB / 3.42 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 9.484/16.97, allocations: 2.459 GB / 5.879 GB, free: 102.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.657e-06/16.97, allocations: 0 / 5.879 GB, free: 102.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001763/16.97, allocations: 262.3 kB / 5.879 GB, free: 102.6 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: 2036 * Number of variables: 2036 Notification: Performance of Generate backend data structure: time 0.03026/17, allocations: 8.897 MB / 5.888 GB, free: 98.29 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/17, allocations: 7.875 kB / 5.888 GB, free: 98.29 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004474/17.01, allocations: 1.056 MB / 5.889 GB, free: 97.71 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01378/17.02, allocations: 2.05 MB / 5.891 GB, free: 97.07 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03436/17.06, allocations: 11.73 MB / 5.902 GB, free: 90.92 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007765/17.06, allocations: 0.5951 MB / 5.903 GB, free: 90.64 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003607/17.06, allocations: 0.7997 MB / 5.904 GB, free: 90.37 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03045/17.09, allocations: 10.71 MB / 5.914 GB, free: 83.98 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005285/17.09, allocations: 23.28 kB / 5.914 GB, free: 83.97 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003522/17.1, allocations: 342.8 kB / 5.914 GB, free: 83.71 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003134/17.1, allocations: 333.3 kB / 5.915 GB, free: 83.66 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02303/17.12, allocations: 9.615 MB / 5.924 GB, free: 76.4 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.08389/17.2, allocations: 45.14 MB / 5.968 GB, free: 29.47 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01312/17.22, allocations: 7.446 MB / 5.976 GB, free: 22.07 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006464/17.22, allocations: 3.72 MB / 5.979 GB, free: 18.33 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 evalFunc (simulation): time 0.03981/17.26, allocations: 18.27 MB / 5.997 GB, free: 15.26 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008497/17.27, allocations: 3.294 MB / 6 GB, free: 11.95 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007427/17.28, allocations: 0.7675 MB / 6.001 GB, free: 11.18 MB / 0.948 GB Notification: Performance of pre-optimization done (n=509): time 2.199e-05/17.28, allocations: 0 / 6.001 GB, free: 11.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=509): time 0.01987/17.3, allocations: 6.148 MB / 6.007 GB, free: 5.008 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002814/17.3, allocations: 364.4 kB / 6.007 GB, free: 4.578 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7425/18.04, allocations: 7.06 MB / 6.014 GB, free: 119.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.00199/18.04, allocations: 131 kB / 6.014 GB, free: 119.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.008148/18.05, allocations: 4.362 MB / 6.019 GB, free: 119 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003345/18.05, allocations: 1.764 MB / 6.02 GB, free: 118.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009861/18.06, allocations: 126.7 kB / 6.02 GB, free: 118.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0006231/18.06, allocations: 0.5619 MB / 6.021 GB, free: 117.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006932/18.06, allocations: 3.063 MB / 6.024 GB, free: 117.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01098/18.07, allocations: 4.796 MB / 6.029 GB, free: 115.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00954/18.08, allocations: 3.966 MB / 6.033 GB, free: 115.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001119/18.08, allocations: 13.25 kB / 6.033 GB, free: 115.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.03327/18.12, allocations: 8.947 MB / 6.041 GB, free: 115.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.006686/18.12, allocations: 23.76 MB / 6.064 GB, free: 90.26 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003135/18.12, allocations: 49.72 kB / 6.065 GB, free: 90.26 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008952/18.13, allocations: 162.1 kB / 6.065 GB, free: 90.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01081/18.14, allocations: 1.685 MB / 6.066 GB, free: 90.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/18.14, allocations: 0.7173 MB / 6.067 GB, free: 89.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01327/18.15, allocations: 0.6898 MB / 6.068 GB, free: 89.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002752/18.15, allocations: 311 kB / 6.068 GB, free: 89.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/18.15, allocations: 4.375 kB / 6.068 GB, free: 89.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02636/18.18, allocations: 8.256 MB / 6.076 GB, free: 89.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003139/18.18, allocations: 47.52 kB / 6.076 GB, free: 89.51 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005821/18.18, allocations: 163.7 kB / 6.076 GB, free: 89.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009137/18.19, allocations: 1.679 MB / 6.078 GB, free: 89.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000876/18.19, allocations: 0.7154 MB / 6.079 GB, free: 88.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01181/18.2, allocations: 0.6724 MB / 6.079 GB, free: 88.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002772/18.21, allocations: 308.3 kB / 6.08 GB, free: 88.96 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 210 * 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 (819): * Single equations (assignments): 815 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.005049/18.21, allocations: 492.6 kB / 6.08 GB, free: 88.86 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004142/18.22, allocations: 0.7646 MB / 6.081 GB, free: 88.45 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02284/18.24, allocations: 7.391 MB / 6.088 GB, free: 88.08 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.597e-05/18.24, allocations: 57.64 kB / 6.088 GB, free: 88.08 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.043e-05/18.24, allocations: 0.7031 kB / 6.088 GB, free: 88.08 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01498/18.25, allocations: 5.756 MB / 6.094 GB, free: 87.64 MB / 0.948 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 postOpt removeSimpleEquations (simulation): time 0.05619/18.31, allocations: 16.67 MB / 6.11 GB, free: 86.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.261e-05/18.31, allocations: 3.531 kB / 6.11 GB, free: 86.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006879/18.32, allocations: 1.153 MB / 6.111 GB, free: 86.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003853/18.32, allocations: 86.64 kB / 6.111 GB, free: 86.74 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001366/18.32, allocations: 157.4 kB / 6.111 GB, free: 86.74 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005135/18.32, allocations: 0.6132 MB / 6.112 GB, free: 86.22 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/18.32, allocations: 5.5 kB / 6.112 GB, free: 86.22 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02344/18.34, allocations: 10.75 MB / 6.122 GB, free: 85.13 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00742/18.35, allocations: 1.897 MB / 6.124 GB, free: 84.62 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003786/18.35, allocations: 111.7 kB / 6.124 GB, free: 84.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00949/18.36, allocations: 0.5852 MB / 6.125 GB, free: 84.61 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001498/18.36, allocations: 313.9 kB / 6.125 GB, free: 84.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001573/18.37, allocations: 217.4 kB / 6.125 GB, free: 84.59 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01331/18.38, allocations: 5.549 MB / 6.131 GB, free: 84.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.92e-07/18.38, allocations: 0.6562 kB / 6.131 GB, free: 84.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.02714/18.41, allocations: 5.253 MB / 6.136 GB, free: 83.59 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 27 (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,TOut.T,TIn.T,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.indTanHex.vol[1].dynBal.U,tan.indTanHex.vol[2].dynBal.U,tan.indTanHex.vol[3].dynBal.U,tan.indTanHex.vol[4].dynBal.U,tan.indTanHex.cap[1].T,tan.indTanHex.cap[2].T,tan.indTanHex.cap[3].T,tan.indTanHex.cap[4].T,pum.filter.x[1],pum.filter.x[2],exp.m,exp.H) * 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 (534): * Single equations (assignments): 523 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.03276/18.44, allocations: 13.74 MB / 6.149 GB, free: 81.55 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02723/18.47, allocations: 11.73 MB / 6.161 GB, free: 81.12 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.638e-05/18.47, allocations: 10.06 kB / 6.161 GB, free: 81.12 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.007111/18.47, allocations: 3.145 MB / 6.164 GB, free: 80.99 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02414/18.5, allocations: 4.113 MB / 6.168 GB, free: 80.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06542/18.56, allocations: 19.68 MB / 6.187 GB, free: 77.21 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01261/18.58, allocations: 6.184 MB / 6.193 GB, free: 76.17 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.02932/18.61, allocations: 5.895 MB / 6.199 GB, free: 75.67 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01017/18.62, allocations: 4.019 MB / 6.203 GB, free: 75.66 MB / 0.948 GB Notification: Performance of SimCode: time 2.395e-06/18.62, allocations: 0 / 6.203 GB, free: 75.66 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.225/19.84, allocations: 258.8 MB / 6.456 GB, free: 144.6 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/19.84, allocations: 243.2 kB / 6.456 GB, free: 144.2 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/33.29, allocations: 7.062 kB / 6.456 GB, free: 144.2 MB / 0.9792 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1)