Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.746/1.746, allocations: 285.7 MB / 293.1 MB, free: 10.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 180.8 kB / 361.4 MB, free: 6.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.904/1.904, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009883/0.0009886, allocations: 96.08 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.767e-05/2.771e-05, allocations: 7.984 kB / 0.8518 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7735/0.7735, allocations: 115.3 MB / 0.9644 GB, free: 79.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.99/6.764, allocations: 2.357 GB / 3.322 GB, free: 170.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/6.764, allocations: 96.25 kB / 3.322 GB, free: 170.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11/17.76, allocations: 2.817 GB / 6.139 GB, free: 93.52 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.164e-06/17.76, allocations: 0 / 6.139 GB, free: 93.52 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.003734/17.76, allocations: 370.5 kB / 6.139 GB, free: 93.47 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2944 * Number of variables: 2944 Notification: Performance of Generate backend data structure: time 0.04954/17.81, allocations: 12.03 MB / 6.151 GB, free: 89.07 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/17.81, allocations: 12.55 kB / 6.151 GB, free: 89.07 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0251/17.84, allocations: 3.016 MB / 6.154 GB, free: 88.25 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0578/17.9, allocations: 18.13 MB / 6.172 GB, free: 86.65 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008222/17.9, allocations: 356.1 kB / 6.172 GB, free: 86.65 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005476/17.9, allocations: 0.6426 MB / 6.173 GB, free: 86.64 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03975/17.94, allocations: 12.83 MB / 6.185 GB, free: 86.6 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05479/18, allocations: 14.4 MB / 6.199 GB, free: 84.96 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001051/18, allocations: 43.47 kB / 6.199 GB, free: 84.95 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005949/18, allocations: 23.22 kB / 6.199 GB, free: 84.95 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007377/18.01, allocations: 0.5559 MB / 6.2 GB, free: 84.93 MB / 0.9792 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.1149/18.12, allocations: 61.03 MB / 6.259 GB, free: 62.62 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01421/18.13, allocations: 9.247 MB / 6.268 GB, free: 62.38 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007024/18.14, allocations: 4.907 MB / 6.273 GB, free: 62.31 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002552/18.14, allocations: 2.384 MB / 6.276 GB, free: 59.86 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009974/18.15, allocations: 5.055 MB / 6.281 GB, free: 59.67 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=704): time 1.46e-05/18.15, allocations: 0 / 6.281 GB, free: 59.67 MB / 0.9792 GB Notification: Performance of matching and sorting (n=704): time 0.1305/18.28, allocations: 17.52 MB / 6.298 GB, free: 58.51 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/18.28, allocations: 367.9 kB / 6.298 GB, free: 58.16 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01833/18.3, allocations: 9.457 MB / 6.307 GB, free: 57.53 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002317/18.31, allocations: 37.58 kB / 6.307 GB, free: 57.5 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.007375/18.31, allocations: 6.168 MB / 6.313 GB, free: 55.18 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.004327/18.32, allocations: 2.357 MB / 6.316 GB, free: 53.63 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008481/18.32, allocations: 0 / 6.316 GB, free: 53.63 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000564/18.32, allocations: 0.6462 MB / 6.316 GB, free: 53.3 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005928/18.32, allocations: 3.983 MB / 6.32 GB, free: 51.82 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007147/18.33, allocations: 6.202 MB / 6.326 GB, free: 47.53 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3136/18.65, allocations: 28.63 MB / 6.354 GB, free: 43.12 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.812e-05/18.65, allocations: 17.78 kB / 6.354 GB, free: 43.12 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.3249/18.97, allocations: 34.63 MB / 6.388 GB, free: 24.51 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.01084/18.98, allocations: 35.49 MB / 6.423 GB, free: 18.71 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002484/18.98, allocations: 67.28 kB / 6.423 GB, free: 18.64 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008276/18.98, allocations: 204.5 kB / 6.423 GB, free: 18.47 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0128/19, allocations: 2.348 MB / 6.425 GB, free: 16.67 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/19, allocations: 1.61 MB / 6.427 GB, free: 15.05 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01707/19.01, allocations: 1.312 MB / 6.428 GB, free: 13.96 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003135/19.02, allocations: 424.4 kB / 6.428 GB, free: 13.6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/19.02, allocations: 4 kB / 6.428 GB, free: 13.6 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.018/20.04, allocations: 35.03 MB / 6.463 GB, free: 117.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002334/20.04, allocations: 67.06 kB / 6.463 GB, free: 117.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006946/20.04, allocations: 196.7 kB / 6.463 GB, free: 117.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0132/20.05, allocations: 2.356 MB / 6.465 GB, free: 117.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/20.05, allocations: 1.605 MB / 6.467 GB, free: 116.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01663/20.07, allocations: 1.145 MB / 6.468 GB, free: 116.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002562/20.07, allocations: 426.8 kB / 6.468 GB, free: 116.3 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 293 * 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 (1095): * Single equations (assignments): 1094 * 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: 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.003035/20.07, allocations: 337.8 kB / 6.469 GB, free: 116.2 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.135/20.21, allocations: 17.53 MB / 6.486 GB, free: 115.9 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006081/20.22, allocations: 1.01 MB / 6.487 GB, free: 115.7 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1404/20.36, allocations: 19.03 MB / 6.505 GB, free: 115.3 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001174/20.36, allocations: 72.2 kB / 6.505 GB, free: 115.3 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/20.36, allocations: 1.75 kB / 6.505 GB, free: 115.3 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1251/20.48, allocations: 16.97 MB / 6.522 GB, free: 114.7 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1677/20.65, allocations: 32.49 MB / 6.554 GB, free: 112.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.212e-05/20.65, allocations: 12.72 kB / 6.554 GB, free: 112.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01029/20.66, allocations: 1.706 MB / 6.555 GB, free: 112.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006334/20.66, allocations: 115.8 kB / 6.555 GB, free: 112.6 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001784/20.66, allocations: 163.9 kB / 6.556 GB, free: 112.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/20.66, allocations: 1.525 MB / 6.557 GB, free: 111.4 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.151e-05/20.66, allocations: 16.38 kB / 6.557 GB, free: 111.4 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.158/20.82, allocations: 26.39 MB / 6.583 GB, free: 106 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01481/20.84, allocations: 2.945 MB / 6.586 GB, free: 105.4 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006342/20.84, allocations: 48.33 kB / 6.586 GB, free: 105.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01596/20.86, allocations: 0.7065 MB / 6.587 GB, free: 105.3 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002445/20.86, allocations: 456.4 kB / 6.587 GB, free: 105.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002784/20.86, allocations: 381.8 kB / 6.587 GB, free: 105.3 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.01577/20.88, allocations: 7.235 MB / 6.594 GB, free: 105 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.91e-07/20.88, allocations: 0 / 6.594 GB, free: 105 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.03573/20.92, allocations: 6.842 MB / 6.601 GB, free: 104.4 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 40 (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,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,TOut1.T,TIn1.T) * 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 (729): * Single equations (assignments): 716 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.1536/21.07, allocations: 30.11 MB / 6.63 GB, free: 97.25 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0311/21.1, allocations: 15.45 MB / 6.646 GB, free: 96.85 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-05/21.1, allocations: 11.05 kB / 6.646 GB, free: 96.84 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.008575/21.11, allocations: 4.432 MB / 6.65 GB, free: 96.73 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03658/21.15, allocations: 5.853 MB / 6.656 GB, free: 96.33 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0867/21.23, allocations: 28.34 MB / 6.683 GB, free: 90.08 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01316/21.25, allocations: 8.65 MB / 6.692 GB, free: 88.96 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.04065/21.29, allocations: 9.805 MB / 6.701 GB, free: 84.99 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01079/21.3, allocations: 5.671 MB / 6.707 GB, free: 84.34 MB / 1.01 GB Notification: Performance of SimCode: time 2.124e-06/21.3, allocations: 0 / 6.707 GB, free: 84.34 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.148/22.44, allocations: 325.2 MB / 7.024 GB, free: 118.4 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/22.44, allocations: 198.6 kB / 7.025 GB, free: 118.2 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.13/37.57, allocations: 3.469 kB / 7.025 GB, free: 118.2 MB / 1.026 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1)