Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.993/1.993, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001502/0.001502, allocations: 184.2 kB / 377.1 MB, free: 1.535 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.15/2.15, allocations: 205.4 MB / 0.6367 GB, free: 8.641 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.001082/0.001082, allocations: 89.33 kB / 0.751 GB, free: 63.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007086/0.0007087, allocations: 8 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3672, allocations: 116.3 MB / 0.9884 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.884/8.251, allocations: 2.359 GB / 3.347 GB, free: 184.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003681/8.251, allocations: 98.02 kB / 3.347 GB, free: 184.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.416/12.67, allocations: 0.9298 GB / 4.277 GB, free: 118.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.925e-06/12.67, allocations: 0 / 4.277 GB, free: 118.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001761/12.67, allocations: 127.2 kB / 4.277 GB, free: 118.7 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.02859/12.7, allocations: 5.093 MB / 4.282 GB, free: 117.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.977e-05/12.7, allocations: 11.47 kB / 4.282 GB, free: 117.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01056/12.71, allocations: 1.259 MB / 4.283 GB, free: 116.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01977/12.73, allocations: 5.408 MB / 4.289 GB, free: 116.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005/12.73, allocations: 281.4 kB / 4.289 GB, free: 116.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002501/12.73, allocations: 377.3 kB / 4.289 GB, free: 116.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02152/12.75, allocations: 5.359 MB / 4.294 GB, free: 115.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004534/12.75, allocations: 11.56 kB / 4.294 GB, free: 115.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002502/12.76, allocations: 160.1 kB / 4.295 GB, free: 115.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003423/12.76, allocations: 177.2 kB / 4.295 GB, free: 115.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01703/12.77, allocations: 5.238 MB / 4.3 GB, free: 115.5 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.04842/12.82, allocations: 19.33 MB / 4.319 GB, free: 109.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009436/12.83, allocations: 3.598 MB / 4.322 GB, free: 109.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002367/12.83, allocations: 1.865 MB / 4.324 GB, free: 107.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006033/12.84, allocations: 2.055 MB / 4.326 GB, free: 107 MB / 0.948 GB Notification: Performance of pre-optimization done (n=264): time 1.087e-05/12.84, allocations: 0 / 4.326 GB, free: 107 MB / 0.948 GB Notification: Performance of matching and sorting (n=264): time 0.01621/12.86, allocations: 5.08 MB / 4.331 GB, free: 106.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001744/12.86, allocations: 297.4 kB / 4.331 GB, free: 106.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01061/12.87, allocations: 3.472 MB / 4.335 GB, free: 106 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001194/12.87, allocations: 78.08 kB / 4.335 GB, free: 106 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003226/12.87, allocations: 1.976 MB / 4.337 GB, free: 105.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002326/12.87, allocations: 0.8974 MB / 4.338 GB, free: 104.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009447/12.87, allocations: 56.06 kB / 4.338 GB, free: 104.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004455/12.88, allocations: 428.5 kB / 4.338 GB, free: 104.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004713/12.88, allocations: 1.562 MB / 4.34 GB, free: 104.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005394/12.89, allocations: 2.25 MB / 4.342 GB, free: 103.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0054/12.89, allocations: 1.908 MB / 4.344 GB, free: 103.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.771e-05/12.89, allocations: 10.3 kB / 4.344 GB, free: 103.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.01696/12.91, allocations: 4.391 MB / 4.348 GB, free: 103.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003821/12.91, allocations: 7.408 MB / 4.355 GB, free: 95.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.81e-05/12.91, allocations: 15.91 kB / 4.355 GB, free: 95.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009084/12.91, allocations: 117.4 kB / 4.355 GB, free: 95.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005175/12.92, allocations: 0.8028 MB / 4.356 GB, free: 95.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/12.92, allocations: 1.588 MB / 4.358 GB, free: 94.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007529/12.93, allocations: 0.5326 MB / 4.358 GB, free: 94.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001408/12.93, allocations: 146.2 kB / 4.358 GB, free: 94.04 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/12.93, allocations: 2.812 kB / 4.358 GB, free: 94.04 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01421/12.94, allocations: 4.053 MB / 4.362 GB, free: 93.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.609e-05/12.94, allocations: 16.44 kB / 4.362 GB, free: 93.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000722/12.94, allocations: 111.3 kB / 4.362 GB, free: 93.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005038/12.95, allocations: 0.8048 MB / 4.363 GB, free: 93.94 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/12.95, allocations: 1.586 MB / 4.365 GB, free: 92.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007099/12.96, allocations: 493.8 kB / 4.365 GB, free: 92.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001262/12.96, allocations: 144.6 kB / 4.365 GB, free: 92.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (371): * Single equations (assignments): 370 * 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.006104/12.97, allocations: 1.507 MB / 4.367 GB, free: 92.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002886/12.97, allocations: 383.5 kB / 4.367 GB, free: 92.11 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01608/12.99, allocations: 4.367 MB / 4.371 GB, free: 91.87 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.263e-05/12.99, allocations: 30.12 kB / 4.371 GB, free: 91.87 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.036e-05/12.99, allocations: 0.6875 kB / 4.371 GB, free: 91.87 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009381/13, allocations: 3.486 MB / 4.375 GB, free: 91.52 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03303/13.03, allocations: 9.275 MB / 4.384 GB, free: 90.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.438e-05/13.03, allocations: 5.781 kB / 4.384 GB, free: 90.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004415/13.03, allocations: 0.6304 MB / 4.385 GB, free: 90.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007034/13.03, allocations: 101.8 kB / 4.385 GB, free: 90.59 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009626/13.03, allocations: 88.36 kB / 4.385 GB, free: 90.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002625/13.04, allocations: 1.592 MB / 4.386 GB, free: 89.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.118e-05/13.04, allocations: 3.906 kB / 4.386 GB, free: 89.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02062/13.06, allocations: 6.467 MB / 4.393 GB, free: 88.17 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005088/13.06, allocations: 1.079 MB / 4.394 GB, free: 87.84 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002518/13.07, allocations: 62.19 kB / 4.394 GB, free: 87.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006851/13.07, allocations: 316 kB / 4.394 GB, free: 87.82 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000899/13.07, allocations: 179.2 kB / 4.394 GB, free: 87.81 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009522/13.07, allocations: 135.1 kB / 4.394 GB, free: 87.81 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01034/13.08, allocations: 2.742 MB / 4.397 GB, free: 87.67 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.595e-06/13.08, allocations: 0 / 4.397 GB, free: 87.67 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01667/13.1, allocations: 2.453 MB / 4.399 GB, free: 87.29 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (283): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.005193/13.11, allocations: 1.65 MB / 4.401 GB, free: 86.96 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01828/13.13, allocations: 6.112 MB / 4.407 GB, free: 86.66 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.135e-05/13.13, allocations: 4.844 kB / 4.407 GB, free: 86.66 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005494/13.13, allocations: 1.959 MB / 4.409 GB, free: 86.53 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01299/13.14, allocations: 2.008 MB / 4.411 GB, free: 86.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02945/13.17, allocations: 11.25 MB / 4.422 GB, free: 82.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006513/13.18, allocations: 3.113 MB / 4.425 GB, free: 81.49 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01023/13.19, allocations: 2.073 MB / 4.427 GB, free: 81.23 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00183/13.19, allocations: 395.9 kB / 4.427 GB, free: 81.21 MB / 0.948 GB Notification: Performance of SimCode: time 1.863e-06/13.19, allocations: 0 / 4.427 GB, free: 81.21 MB / 0.948 GB Notification: Performance of Templates: time 0.165/13.36, allocations: 90.62 MB / 4.516 GB, free: 75.55 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)