Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.448/2.448, allocations: 284.9 MB / 292.4 MB, free: 10.51 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.001411/0.001411, allocations: 188.8 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001071/0.001071, allocations: 92.34 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.246e-05/2.254e-05, allocations: 4 kB / 0.8508 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8485/0.8486, allocations: 115.3 MB / 0.9634 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.281/8.13, allocations: 2.357 GB / 3.321 GB, free: 124.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/8.13, allocations: 88.36 kB / 3.321 GB, free: 124.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 15.85/23.98, allocations: 2.817 GB / 6.138 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.956e-06/23.98, allocations: 0 / 6.138 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.003455/23.98, allocations: 378.8 kB / 6.138 GB, free: 102.5 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.05535/24.03, allocations: 12.04 MB / 6.15 GB, free: 98.12 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/24.03, allocations: 7.75 kB / 6.15 GB, free: 98.12 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03096/24.07, allocations: 3.016 MB / 6.153 GB, free: 97.3 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07563/24.14, allocations: 18.13 MB / 6.171 GB, free: 95.7 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008869/24.14, allocations: 361.4 kB / 6.171 GB, free: 95.7 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006048/24.15, allocations: 0.6387 MB / 6.171 GB, free: 95.7 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04269/24.19, allocations: 12.83 MB / 6.184 GB, free: 95.65 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05527/24.25, allocations: 14.4 MB / 6.198 GB, free: 94.01 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009225/24.25, allocations: 44.97 kB / 6.198 GB, free: 94 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005911/24.25, allocations: 24.67 kB / 6.198 GB, free: 94 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000781/24.25, allocations: 0.5584 MB / 6.199 GB, free: 93.97 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.1561/24.41, allocations: 61.03 MB / 6.258 GB, free: 71.66 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02295/24.43, allocations: 9.246 MB / 6.267 GB, free: 71.44 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01228/24.45, allocations: 4.905 MB / 6.272 GB, free: 71.36 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003946/24.45, allocations: 2.386 MB / 6.274 GB, free: 68.92 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01507/24.46, allocations: 5.051 MB / 6.279 GB, free: 68.36 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=704): time 1.337e-05/24.46, allocations: 3.969 kB / 6.279 GB, free: 68.36 MB / 0.9792 GB Notification: Performance of matching and sorting (n=704): time 0.2772/24.74, allocations: 17.53 MB / 6.296 GB, free: 64.2 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/24.74, allocations: 359.9 kB / 6.297 GB, free: 63.85 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02748/24.77, allocations: 9.467 MB / 6.306 GB, free: 60.4 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002638/24.77, allocations: 33.3 kB / 6.306 GB, free: 60.37 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.01014/24.78, allocations: 6.171 MB / 6.312 GB, free: 55.67 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.004903/24.79, allocations: 2.352 MB / 6.314 GB, free: 53.83 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001345/24.79, allocations: 0 / 6.314 GB, free: 53.83 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0007833/24.79, allocations: 0.6533 MB / 6.315 GB, free: 53.37 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01046/24.8, allocations: 3.977 MB / 6.319 GB, free: 51.83 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01308/24.81, allocations: 6.202 MB / 6.325 GB, free: 47.54 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6985/25.51, allocations: 28.63 MB / 6.353 GB, free: 36.51 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-05/25.51, allocations: 23.06 kB / 6.353 GB, free: 36.49 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.7189/26.23, allocations: 34.63 MB / 6.387 GB, free: 11.42 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.8102/27.04, allocations: 35.47 MB / 6.421 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003171/27.04, allocations: 64.5 kB / 6.422 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/27.04, allocations: 200.3 kB / 6.422 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02967/27.07, allocations: 2.35 MB / 6.424 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004583/27.08, allocations: 1.608 MB / 6.426 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02532/27.1, allocations: 1.313 MB / 6.427 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003148/27.11, allocations: 423.1 kB / 6.427 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/27.11, allocations: 3.469 kB / 6.427 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7372/27.84, allocations: 33.6 MB / 6.46 GB, free: 103.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003617/27.84, allocations: 64.03 kB / 6.46 GB, free: 103.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/27.85, allocations: 193.8 kB / 6.46 GB, free: 103.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02446/27.87, allocations: 2.358 MB / 6.463 GB, free: 103.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00506/27.87, allocations: 1.599 MB / 6.464 GB, free: 102.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02592/27.9, allocations: 1.146 MB / 6.465 GB, free: 102.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003602/27.9, allocations: 431.6 kB / 6.466 GB, free: 102.4 MB / 0.9948 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.00635/27.91, allocations: 337.7 kB / 6.466 GB, free: 102.3 MB / 0.9948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.2858/28.2, allocations: 17.52 MB / 6.483 GB, free: 101.6 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007099/28.2, allocations: 1.012 MB / 6.484 GB, free: 101.1 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.284/28.49, allocations: 19.04 MB / 6.503 GB, free: 100 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.261e-05/28.49, allocations: 78.75 kB / 6.503 GB, free: 100 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/28.49, allocations: 0 / 6.503 GB, free: 100 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2563/28.74, allocations: 16.96 MB / 6.519 GB, free: 98.93 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3071/29.05, allocations: 32.49 MB / 6.551 GB, free: 96.69 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.003e-05/29.05, allocations: 15.77 kB / 6.551 GB, free: 96.68 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01834/29.07, allocations: 1.709 MB / 6.553 GB, free: 96.66 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009768/29.07, allocations: 119.5 kB / 6.553 GB, free: 96.64 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001809/29.07, allocations: 165.7 kB / 6.553 GB, free: 96.64 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002296/29.08, allocations: 1.525 MB / 6.555 GB, free: 95.42 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.626e-05/29.08, allocations: 17.72 kB / 6.555 GB, free: 95.42 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2718/29.35, allocations: 26.38 MB / 6.58 GB, free: 90.07 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01316/29.36, allocations: 2.941 MB / 6.583 GB, free: 89.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005007/29.37, allocations: 52.77 kB / 6.583 GB, free: 89.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02036/29.39, allocations: 0.7014 MB / 6.584 GB, free: 89.36 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002198/29.39, allocations: 458.9 kB / 6.584 GB, free: 89.34 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001737/29.39, allocations: 377.4 kB / 6.585 GB, free: 89.34 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.02019/29.41, allocations: 7.242 MB / 6.592 GB, free: 89.05 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.232e-06/29.41, allocations: 0 / 6.592 GB, free: 89.05 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0393/29.45, allocations: 6.853 MB / 6.598 GB, free: 88.46 MB / 0.9948 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.2789/29.73, allocations: 30.09 MB / 6.628 GB, free: 81.31 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.04064/29.77, allocations: 15.45 MB / 6.643 GB, free: 80.91 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.33e-05/29.77, allocations: 12.73 kB / 6.643 GB, free: 80.91 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.01212/29.78, allocations: 4.429 MB / 6.647 GB, free: 80.79 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04792/29.83, allocations: 5.857 MB / 6.653 GB, free: 80.32 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08863/29.92, allocations: 28.34 MB / 6.681 GB, free: 60 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01811/29.94, allocations: 8.655 MB / 6.689 GB, free: 71.07 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0611/30, allocations: 9.811 MB / 6.699 GB, free: 64.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01788/30.02, allocations: 5.673 MB / 6.704 GB, free: 64.04 MB / 1.01 GB Notification: Performance of SimCode: time 1.813e-06/30.02, allocations: 0 / 6.704 GB, free: 64.04 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.598/31.61, allocations: 325.1 MB / 7.022 GB, free: 85.93 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002792/31.61, allocations: 185.2 kB / 7.022 GB, free: 85.74 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.18/51.79, allocations: 0 / 7.022 GB, free: 85.74 MB / 1.026 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1)