Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.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.FlatPlateTotalArea,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.467/1.467, allocations: 249.3 MB / 261.8 MB, free: 5.922 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.001042/0.001042, allocations: 178.5 kB / 321.3 MB, free: 14.63 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.578/1.578, allocations: 205.2 MB / 0.572 GB, free: 10.59 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.0009763/0.0009761, allocations: 86.81 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.596e-05/3.612e-05, allocations: 7.984 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2333, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.081/7.314, allocations: 2.475 GB / 3.367 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/7.315, allocations: 92.75 kB / 3.367 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 11.64/18.95, allocations: 2.765 GB / 6.132 GB, free: 77.41 MB / 0.9168 GB Notification: Performance of FrontEnd: time 2.545e-06/18.95, allocations: 2.844 kB / 6.132 GB, free: 77.41 MB / 0.9168 GB Notification: Performance of Transformations before backend: time 0.003952/18.96, allocations: 371.4 kB / 6.132 GB, free: 77.36 MB / 0.9168 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.05196/19.01, allocations: 12.02 MB / 6.144 GB, free: 72.95 MB / 0.9168 GB Notification: Performance of prepare preOptimizeDAE: time 6.601e-05/19.01, allocations: 9.344 kB / 6.144 GB, free: 72.95 MB / 0.9168 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009788/19.02, allocations: 1.531 MB / 6.146 GB, free: 72.84 MB / 0.9168 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0232/19.04, allocations: 3.008 MB / 6.149 GB, free: 72.02 MB / 0.9168 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05909/19.1, allocations: 18.05 MB / 6.166 GB, free: 70.42 MB / 0.9168 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001707/19.1, allocations: 0.8165 MB / 6.167 GB, free: 70.39 MB / 0.9168 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009272/19.11, allocations: 1.107 MB / 6.168 GB, free: 70.38 MB / 0.9168 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06416/19.17, allocations: 15.8 MB / 6.184 GB, free: 68.7 MB / 0.9168 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001188/19.18, allocations: 36.5 kB / 6.184 GB, free: 68.7 MB / 0.9168 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007092/19.18, allocations: 476.9 kB / 6.184 GB, free: 68.7 MB / 0.9168 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007758/19.18, allocations: 0.5664 MB / 6.185 GB, free: 68.67 MB / 0.9168 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03872/19.22, allocations: 13.77 MB / 6.198 GB, free: 68.58 MB / 0.9168 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.1364/19.36, allocations: 63.02 MB / 6.26 GB, free: 42.82 MB / 0.9168 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02077/19.38, allocations: 9.579 MB / 6.269 GB, free: 38.92 MB / 0.9168 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01236/19.39, allocations: 5.133 MB / 6.274 GB, free: 36.93 MB / 0.9168 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003203/19.4, allocations: 2.384 MB / 6.276 GB, free: 34.44 MB / 0.9168 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0137/19.41, allocations: 5.163 MB / 6.281 GB, free: 32.58 MB / 0.9168 GB Notification: Performance of pre-optimization done (n=704): time 1.627e-05/19.41, allocations: 0 / 6.281 GB, free: 32.58 MB / 0.9168 GB Notification: Performance of matching and sorting (n=704): time 0.02923/19.44, allocations: 8.89 MB / 6.29 GB, free: 29.21 MB / 0.9168 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001852/19.44, allocations: 358.5 kB / 6.29 GB, free: 28.86 MB / 0.9168 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02712/19.47, allocations: 10.98 MB / 6.301 GB, free: 25.07 MB / 0.9168 GB Notification: Performance of collectPreVariables (initialization): time 0.00236/19.47, allocations: 163.8 kB / 6.301 GB, free: 24.95 MB / 0.9168 GB Notification: Performance of collectInitialEqns (initialization): time 0.01012/19.48, allocations: 6.265 MB / 6.307 GB, free: 19.47 MB / 0.9168 GB Notification: Performance of collectInitialBindings (initialization): time 0.005521/19.48, allocations: 2.444 MB / 6.31 GB, free: 17.26 MB / 0.9168 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002376/19.49, allocations: 176.8 kB / 6.31 GB, free: 17.09 MB / 0.9168 GB Notification: Performance of setup shared object (initialization): time 0.0009448/19.49, allocations: 0.6516 MB / 6.311 GB, free: 16.53 MB / 0.9168 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008126/19.5, allocations: 4.144 MB / 6.315 GB, free: 12.84 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01044/19.51, allocations: 6.414 MB / 6.321 GB, free: 6.07 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009966/19.52, allocations: 5.372 MB / 6.326 GB, free: 1.59 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.296e-05/19.52, allocations: 20 kB / 6.326 GB, free: 1.57 MB / 0.9168 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.04645/19.56, allocations: 12.82 MB / 6.339 GB, free: 9.031 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 0.7053/20.27, allocations: 37.01 MB / 6.375 GB, free: 91.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002779/20.27, allocations: 66.34 kB / 6.375 GB, free: 91.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009921/20.27, allocations: 198.8 kB / 6.375 GB, free: 91.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01366/20.28, allocations: 2.35 MB / 6.377 GB, free: 91.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/20.29, allocations: 1.667 MB / 6.379 GB, free: 90.17 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0183/20.3, allocations: 1.594 MB / 6.38 GB, free: 90.17 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003241/20.31, allocations: 425 kB / 6.381 GB, free: 90.17 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/20.31, allocations: 7.078 kB / 6.381 GB, free: 90.17 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03107/20.34, allocations: 11.11 MB / 6.392 GB, free: 89.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003698/20.34, allocations: 66.5 kB / 6.392 GB, free: 89.98 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008874/20.34, allocations: 198.3 kB / 6.392 GB, free: 89.97 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01376/20.35, allocations: 2.35 MB / 6.394 GB, free: 89.97 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/20.36, allocations: 1.673 MB / 6.396 GB, free: 88.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01627/20.37, allocations: 1.423 MB / 6.397 GB, free: 88.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003623/20.38, allocations: 421 kB / 6.398 GB, free: 88.7 MB / 0.948 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.007222/20.38, allocations: 0.6221 MB / 6.398 GB, free: 88.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008056/20.39, allocations: 1.093 MB / 6.399 GB, free: 88.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03178/20.42, allocations: 10.61 MB / 6.41 GB, free: 88.08 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-05/20.42, allocations: 78.02 kB / 6.41 GB, free: 88.08 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/20.42, allocations: 0 / 6.41 GB, free: 88.08 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01629/20.44, allocations: 8.281 MB / 6.418 GB, free: 87.54 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05275/20.49, allocations: 25.2 MB / 6.443 GB, free: 85.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.749e-05/20.49, allocations: 9.438 kB / 6.443 GB, free: 85.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009758/20.5, allocations: 1.715 MB / 6.444 GB, free: 85.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006999/20.5, allocations: 116 kB / 6.444 GB, free: 85.79 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002236/20.5, allocations: 247 kB / 6.445 GB, free: 85.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/20.51, allocations: 1.592 MB / 6.446 GB, free: 84.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.531e-05/20.51, allocations: 18.66 kB / 6.446 GB, free: 84.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03979/20.55, allocations: 18.15 MB / 6.464 GB, free: 79.54 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01185/20.56, allocations: 2.997 MB / 6.467 GB, free: 78.87 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006512/20.56, allocations: 167.9 kB / 6.467 GB, free: 78.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01662/20.58, allocations: 0.8107 MB / 6.468 GB, free: 78.84 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002543/20.58, allocations: 459.5 kB / 6.468 GB, free: 78.83 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002672/20.59, allocations: 345.8 kB / 6.468 GB, free: 78.83 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.02026/20.61, allocations: 8.588 MB / 6.477 GB, free: 78.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.92e-07/20.61, allocations: 0 / 6.477 GB, free: 78.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.03634/20.64, allocations: 7.122 MB / 6.484 GB, free: 77.82 MB / 0.948 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.0395/20.68, allocations: 21.68 MB / 6.505 GB, free: 71.34 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03523/20.72, allocations: 16.23 MB / 6.521 GB, free: 70.89 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.962e-05/20.72, allocations: 10.59 kB / 6.521 GB, free: 70.89 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01054/20.73, allocations: 4.598 MB / 6.525 GB, free: 70.75 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03879/20.77, allocations: 6.848 MB / 6.532 GB, free: 70.57 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07658/20.84, allocations: 29.31 MB / 6.561 GB, free: 65.11 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01219/20.86, allocations: 8.648 MB / 6.569 GB, free: 64 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.04333/20.9, allocations: 10.88 MB / 6.58 GB, free: 62.35 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01559/20.92, allocations: 5.722 MB / 6.585 GB, free: 62.34 MB / 0.948 GB Notification: Performance of SimCode: time 2.004e-06/20.92, allocations: 0 / 6.585 GB, free: 62.34 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.22/22.14, allocations: 379 MB / 6.955 GB, free: 65.04 MB / 0.9637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/22.14, allocations: 252.7 kB / 6.956 GB, free: 64.69 MB / 0.9637 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.34/40.47, allocations: 0 / 6.956 GB, free: 64.69 MB / 0.9637 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1)