Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.554/2.554, allocations: 287.5 MB / 303.2 MB, free: 8.215 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.001362/0.001361, allocations: 169.5 kB / 371.8 MB, free: 10.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 2.099/2.099, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 93.52 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007431/0.0007434, allocations: 12.31 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2425, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.562/6.805, allocations: 2.11 GB / 3.089 GB, free: 217.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/6.805, allocations: 100.8 kB / 3.089 GB, free: 217.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.245/13.05, allocations: 1.283 GB / 4.373 GB, free: 21.97 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.176e-06/13.05, allocations: 0 / 4.373 GB, free: 21.97 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009364/13.05, allocations: 135.8 kB / 4.373 GB, free: 21.84 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.02746/13.08, allocations: 6.301 MB / 4.379 GB, free: 15.46 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/13.08, allocations: 15.97 kB / 4.379 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01882/13.1, allocations: 1.594 MB / 4.38 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02156/13.12, allocations: 5.623 MB / 4.386 GB, free: 8.156 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004501/13.12, allocations: 279.5 kB / 4.386 GB, free: 7.883 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001917/13.12, allocations: 379.9 kB / 4.386 GB, free: 7.512 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0216/13.14, allocations: 5.479 MB / 4.392 GB, free: 1.863 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002208/13.14, allocations: 11.92 kB / 4.392 GB, free: 1.852 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001945/13.15, allocations: 164 kB / 4.392 GB, free: 1.691 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000214/13.15, allocations: 155.3 kB / 4.392 GB, free: 1.539 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7925/13.94, allocations: 5.32 MB / 4.397 GB, free: 146.8 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.05918/14, allocations: 19.07 MB / 4.416 GB, free: 141.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01544/14.01, allocations: 3.809 MB / 4.42 GB, free: 141.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007689/14.02, allocations: 1.901 MB / 4.422 GB, free: 141.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003555/14.02, allocations: 2.536 MB / 4.424 GB, free: 138.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009207/14.03, allocations: 2.128 MB / 4.426 GB, free: 138.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 9.017e-06/14.03, allocations: 1.25 kB / 4.426 GB, free: 138.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=284): time 0.03263/14.07, allocations: 6.833 MB / 4.433 GB, free: 137.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/14.07, allocations: 291.7 kB / 4.433 GB, free: 137.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01089/14.08, allocations: 3.611 MB / 4.437 GB, free: 136.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001215/14.08, allocations: 80.67 kB / 4.437 GB, free: 136.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003317/14.08, allocations: 1.944 MB / 4.439 GB, free: 136.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002446/14.09, allocations: 0.9624 MB / 4.439 GB, free: 135.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004344/14.09, allocations: 60.44 kB / 4.44 GB, free: 135.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003599/14.09, allocations: 433.2 kB / 4.44 GB, free: 135.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007685/14.09, allocations: 1.602 MB / 4.442 GB, free: 135.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008815/14.1, allocations: 2.251 MB / 4.444 GB, free: 134.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01622/14.12, allocations: 3.925 MB / 4.448 GB, free: 134.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.794e-05/14.12, allocations: 3.969 kB / 4.448 GB, free: 134.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.02224/14.14, allocations: 4.469 MB / 4.452 GB, free: 133.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004441/14.14, allocations: 0.544 MB / 4.452 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-05/14.14, allocations: 15.19 kB / 4.452 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/14.14, allocations: 117.9 kB / 4.453 GB, free: 133.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008324/14.15, allocations: 0.8013 MB / 4.453 GB, free: 133.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003182/14.15, allocations: 2.156 MB / 4.455 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009011/14.16, allocations: 0.5036 MB / 4.456 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001199/14.16, allocations: 159.3 kB / 4.456 GB, free: 131.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/14.16, allocations: 3.875 kB / 4.456 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01773/14.18, allocations: 4.13 MB / 4.46 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-05/14.18, allocations: 13.44 kB / 4.46 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009517/14.18, allocations: 107.8 kB / 4.46 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007751/14.19, allocations: 0.7842 MB / 4.461 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/14.19, allocations: 1.567 MB / 4.463 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008606/14.2, allocations: 485.8 kB / 4.463 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0011/14.2, allocations: 160 kB / 4.463 GB, free: 129.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (378): * Single equations (assignments): 376 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.004897/14.21, allocations: 1.521 MB / 4.465 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001668/14.21, allocations: 386.1 kB / 4.465 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02179/14.23, allocations: 5.123 MB / 4.47 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-05/14.23, allocations: 30.28 kB / 4.47 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/14.23, allocations: 1.594 kB / 4.47 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01943/14.25, allocations: 4.069 MB / 4.474 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05445/14.31, allocations: 9.867 MB / 4.484 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.631e-05/14.31, allocations: 3.469 kB / 4.484 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0106/14.32, allocations: 0.611 MB / 4.484 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007781/14.32, allocations: 0.6662 MB / 4.485 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001303/14.33, allocations: 96.44 kB / 4.485 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01002/14.34, allocations: 7.546 MB / 4.492 GB, free: 121.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.605e-06/14.34, allocations: 3.938 kB / 4.492 GB, free: 121.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03492/14.37, allocations: 6.749 MB / 4.499 GB, free: 120.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004663/14.38, allocations: 1.09 MB / 4.5 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002267/14.38, allocations: 54.94 kB / 4.5 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008206/14.39, allocations: 317.8 kB / 4.5 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001041/14.39, allocations: 192.1 kB / 4.501 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007305/14.39, allocations: 135.4 kB / 4.501 GB, free: 120.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007438/14.4, allocations: 2.536 MB / 4.503 GB, free: 120.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.52e-07/14.4, allocations: 2.906 kB / 4.503 GB, free: 120.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01684/14.41, allocations: 2.851 MB / 4.506 GB, free: 120.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (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) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006821/14.42, allocations: 1.826 MB / 4.508 GB, free: 119.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02576/14.45, allocations: 6.296 MB / 4.514 GB, free: 119.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/14.45, allocations: 4.125 kB / 4.514 GB, free: 119.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01333/14.46, allocations: 2.166 MB / 4.516 GB, free: 119.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02017/14.48, allocations: 1.955 MB / 4.518 GB, free: 119.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03261/14.51, allocations: 11.41 MB / 4.529 GB, free: 115.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005571/14.52, allocations: 3.06 MB / 4.532 GB, free: 114.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01542/14.53, allocations: 2.389 MB / 4.534 GB, free: 114 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003313/14.54, allocations: 414.9 kB / 4.535 GB, free: 114 MB / 0.948 GB Notification: Performance of SimCode: time 9.71e-07/14.54, allocations: 0 / 4.535 GB, free: 114 MB / 0.948 GB Notification: Performance of Templates: time 0.2174/14.75, allocations: 92.16 MB / 4.625 GB, free: 99.48 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)