Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.525/1.525, allocations: 289.9 MB / 297.4 MB, free: 6.352 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.001034/0.001034, allocations: 176.8 kB / 366.7 MB, free: 1.641 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.584/1.584, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0008503/0.0008503, allocations: 94.22 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.315e-05/2.31e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7627/0.7627, allocations: 116.3 MB / 0.9732 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.963/6.726, allocations: 2.11 GB / 3.083 GB, free: 281.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/6.726, allocations: 89.89 kB / 3.083 GB, free: 281.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.596/11.32, allocations: 1.401 GB / 4.484 GB, free: 22.01 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.553e-06/11.32, allocations: 0 / 4.484 GB, free: 22.01 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0007988/11.32, allocations: 131.8 kB / 4.485 GB, free: 21.88 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.01715/11.34, allocations: 5.515 MB / 4.49 GB, free: 16.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/11.34, allocations: 8.031 kB / 4.49 GB, free: 16.29 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01299/11.35, allocations: 1.621 MB / 4.492 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01489/11.37, allocations: 5.227 MB / 4.497 GB, free: 9.371 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002219/11.37, allocations: 120 kB / 4.497 GB, free: 9.254 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001539/11.37, allocations: 216 kB / 4.497 GB, free: 9.043 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009393/11.38, allocations: 4.427 MB / 4.501 GB, free: 4.613 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5968/11.98, allocations: 4.603 MB / 4.506 GB, free: 135.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.453e-05/11.98, allocations: 6.594 kB / 4.506 GB, free: 135.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000575/11.98, allocations: 7.344 kB / 4.506 GB, free: 135.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002364/11.98, allocations: 156.3 kB / 4.506 GB, free: 135.2 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 preOpt removeSimpleEquations (simulation): time 0.03182/12.01, allocations: 18.48 MB / 4.524 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004551/12.01, allocations: 3.268 MB / 4.527 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002163/12.02, allocations: 1.62 MB / 4.529 GB, free: 130.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001927/12.02, allocations: 2.533 MB / 4.531 GB, free: 127.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002458/12.02, allocations: 1.829 MB / 4.533 GB, free: 127.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 3.828e-06/12.02, allocations: 3.828 kB / 4.533 GB, free: 127.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=284): time 0.06022/12.08, allocations: 8.044 MB / 4.541 GB, free: 126.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/12.08, allocations: 292.7 kB / 4.541 GB, free: 126.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004792/12.09, allocations: 2.854 MB / 4.544 GB, free: 126.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009279/12.09, allocations: 25.7 kB / 4.544 GB, free: 126.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001784/12.09, allocations: 1.948 MB / 4.546 GB, free: 125.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001368/12.09, allocations: 0.9245 MB / 4.547 GB, free: 125.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/12.09, allocations: 0 / 4.547 GB, free: 125.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001768/12.09, allocations: 433.2 kB / 4.547 GB, free: 125 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/12.09, allocations: 1.341 MB / 4.549 GB, free: 125 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/12.09, allocations: 1.961 MB / 4.55 GB, free: 124.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1519/12.25, allocations: 13.34 MB / 4.563 GB, free: 124.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.882e-05/12.25, allocations: 8.688 kB / 4.563 GB, free: 124.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.1596/12.41, allocations: 15.46 MB / 4.579 GB, free: 124 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001364/12.41, allocations: 6.444 MB / 4.585 GB, free: 117.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.482e-05/12.41, allocations: 15.16 kB / 4.585 GB, free: 117.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00067/12.41, allocations: 112.5 kB / 4.585 GB, free: 117.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004426/12.41, allocations: 0.7987 MB / 4.586 GB, free: 117.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/12.41, allocations: 2.095 MB / 4.588 GB, free: 115.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00551/12.42, allocations: 446.8 kB / 4.588 GB, free: 115.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006032/12.42, allocations: 157.1 kB / 4.588 GB, free: 115.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/12.42, allocations: 4.344 kB / 4.588 GB, free: 115.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1559/12.58, allocations: 15.09 MB / 4.603 GB, free: 115 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/12.58, allocations: 14.81 kB / 4.603 GB, free: 115 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005101/12.58, allocations: 110.7 kB / 4.603 GB, free: 115 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003478/12.58, allocations: 0.7876 MB / 4.604 GB, free: 114.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/12.58, allocations: 1.509 MB / 4.605 GB, free: 113.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004856/12.59, allocations: 407.4 kB / 4.606 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004196/12.59, allocations: 156.6 kB / 4.606 GB, free: 113.6 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 () * 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.0009361/12.59, allocations: 177.1 kB / 4.606 GB, free: 113.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/12.59, allocations: 360.2 kB / 4.607 GB, free: 113.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06164/12.65, allocations: 8.959 MB / 4.615 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.792e-05/12.65, allocations: 35.55 kB / 4.615 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/12.65, allocations: 1.75 kB / 4.615 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05923/12.71, allocations: 7.967 MB / 4.623 GB, free: 111.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08816/12.8, allocations: 13.35 MB / 4.636 GB, free: 111 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-05/12.8, allocations: 0.6562 kB / 4.636 GB, free: 111 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004834/12.8, allocations: 0.6153 MB / 4.637 GB, free: 111 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001796/12.8, allocations: 456.2 kB / 4.637 GB, free: 110.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008497/12.81, allocations: 70.03 kB / 4.637 GB, free: 110.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006558/12.81, allocations: 7.508 MB / 4.645 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/12.81, allocations: 9.375 kB / 4.645 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0739/12.89, allocations: 10.43 MB / 4.655 GB, free: 103.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003456/12.89, allocations: 1.103 MB / 4.656 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001763/12.89, allocations: 21.17 kB / 4.656 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005082/12.9, allocations: 272 kB / 4.656 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007161/12.9, allocations: 178.7 kB / 4.656 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006867/12.9, allocations: 133.2 kB / 4.656 GB, free: 103.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004616/12.9, allocations: 2.199 MB / 4.659 GB, free: 102.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.2e-07/12.9, allocations: 0 / 4.659 GB, free: 102.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01308/12.92, allocations: 2.753 MB / 4.661 GB, free: 102.7 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) * 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.005966/12.92, allocations: 1.811 MB / 4.663 GB, free: 102.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01051/12.93, allocations: 5.525 MB / 4.668 GB, free: 102.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/12.93, allocations: 4.312 kB / 4.668 GB, free: 102.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003526/12.94, allocations: 1.892 MB / 4.67 GB, free: 101.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009593/12.95, allocations: 1.694 MB / 4.672 GB, free: 101.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01949/12.97, allocations: 7.823 MB / 4.68 GB, free: 99.97 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004179/12.97, allocations: 3.148 MB / 4.683 GB, free: 99.14 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01324/12.98, allocations: 3.331 MB / 4.686 GB, free: 98.79 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002201/12.98, allocations: 339.1 kB / 4.686 GB, free: 98.78 MB / 0.948 GB Notification: Performance of SimCode: time 1.142e-06/12.98, allocations: 2.188 kB / 4.686 GB, free: 98.78 MB / 0.948 GB Notification: Performance of Templates: time 0.1304/13.12, allocations: 83.6 MB / 4.768 GB, free: 63.19 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)