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.666/1.666, allocations: 289.7 MB / 302.2 MB, free: 2.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.001065/0.001065, allocations: 178.8 kB / 371.6 MB, free: 3.371 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.782/1.782, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008821/0.0008822, allocations: 87.58 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.546e-05/4.548e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3307, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.449/6.779, allocations: 2.111 GB / 3.091 GB, free: 128.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/6.78, allocations: 97.55 kB / 3.091 GB, free: 128 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.776/12.56, allocations: 1.412 GB / 4.502 GB, free: 120.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.663e-06/12.56, allocations: 0 / 4.502 GB, free: 120.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0007671/12.56, allocations: 129.8 kB / 4.502 GB, free: 120.1 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.01961/12.58, allocations: 5.523 MB / 4.508 GB, free: 117.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/12.58, allocations: 10.5 kB / 4.508 GB, free: 117.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01212/12.59, allocations: 1.605 MB / 4.509 GB, free: 117.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0142/12.6, allocations: 5.224 MB / 4.514 GB, free: 115.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002786/12.6, allocations: 283 kB / 4.515 GB, free: 115.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001514/12.6, allocations: 367.2 kB / 4.515 GB, free: 115.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01018/12.61, allocations: 5.137 MB / 4.52 GB, free: 113.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.131e-05/12.61, allocations: 7.125 kB / 4.52 GB, free: 113.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005768/12.62, allocations: 160.2 kB / 4.52 GB, free: 112.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/12.62, allocations: 155.8 kB / 4.52 GB, free: 112.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008194/12.62, allocations: 4.746 MB / 4.525 GB, free: 111.3 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.03397/12.66, allocations: 19.21 MB / 4.544 GB, free: 100.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005699/12.66, allocations: 3.445 MB / 4.547 GB, free: 99 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002375/12.67, allocations: 1.704 MB / 4.549 GB, free: 98.29 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00224/12.67, allocations: 2.538 MB / 4.551 GB, free: 95.53 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003397/12.67, allocations: 1.916 MB / 4.553 GB, free: 94.63 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 5.31e-06/12.67, allocations: 0 / 4.553 GB, free: 94.63 MB / 0.948 GB Notification: Performance of matching and sorting (n=284): time 0.008352/12.68, allocations: 3.784 MB / 4.557 GB, free: 91.64 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.5e-05/12.68, allocations: 287.3 kB / 4.557 GB, free: 91.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005567/12.69, allocations: 3.328 MB / 4.56 GB, free: 87.98 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009692/12.69, allocations: 81.7 kB / 4.56 GB, free: 87.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001839/12.69, allocations: 1.945 MB / 4.562 GB, free: 85.94 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001331/12.69, allocations: 0.9584 MB / 4.563 GB, free: 84.99 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/12.69, allocations: 60 kB / 4.563 GB, free: 84.93 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001638/12.69, allocations: 432.1 kB / 4.564 GB, free: 84.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002006/12.69, allocations: 1.396 MB / 4.565 GB, free: 83.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002246/12.69, allocations: 2.036 MB / 4.567 GB, free: 80.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002333/12.7, allocations: 1.745 MB / 4.569 GB, free: 79.05 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/12.7, allocations: 4 kB / 4.569 GB, free: 79.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.007218/12.7, allocations: 4.059 MB / 4.573 GB, free: 74.95 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001179/12.71, allocations: 6.55 MB / 4.579 GB, free: 67.84 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/12.71, allocations: 12 kB / 4.579 GB, free: 67.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005927/12.71, allocations: 120.2 kB / 4.579 GB, free: 67.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003858/12.71, allocations: 0.7956 MB / 4.58 GB, free: 66.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/12.71, allocations: 2.156 MB / 4.582 GB, free: 64.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005824/12.72, allocations: 0.5314 MB / 4.583 GB, free: 64.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006731/12.72, allocations: 155.9 kB / 4.583 GB, free: 63.92 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/12.72, allocations: 5.406 kB / 4.583 GB, free: 63.92 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006529/12.72, allocations: 3.717 MB / 4.586 GB, free: 60.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/12.72, allocations: 16 kB / 4.586 GB, free: 60.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005416/12.73, allocations: 116.9 kB / 4.587 GB, free: 60.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003589/12.73, allocations: 0.7839 MB / 4.587 GB, free: 59.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/12.73, allocations: 1.561 MB / 4.589 GB, free: 57.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005451/12.74, allocations: 0.5007 MB / 4.589 GB, free: 57.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005022/12.74, allocations: 155.9 kB / 4.589 GB, free: 56.9 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.0009284/12.74, allocations: 277.9 kB / 4.59 GB, free: 56.62 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001158/12.74, allocations: 387.3 kB / 4.59 GB, free: 56.24 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009517/12.75, allocations: 4.736 MB / 4.595 GB, free: 51.45 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.497e-05/12.75, allocations: 31.98 kB / 4.595 GB, free: 51.41 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/12.75, allocations: 4 kB / 4.595 GB, free: 51.41 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006016/12.75, allocations: 3.66 MB / 4.598 GB, free: 47.64 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01685/12.77, allocations: 9.527 MB / 4.608 GB, free: 38.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/12.77, allocations: 6.75 kB / 4.608 GB, free: 38.03 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003013/12.77, allocations: 0.6199 MB / 4.608 GB, free: 37.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002737/12.78, allocations: 0.6519 MB / 4.609 GB, free: 36.73 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004314/12.78, allocations: 98.95 kB / 4.609 GB, free: 36.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004035/12.78, allocations: 7.534 MB / 4.616 GB, free: 28.72 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/12.78, allocations: 4.031 kB / 4.616 GB, free: 28.72 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01087/12.79, allocations: 6.181 MB / 4.622 GB, free: 22.42 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003351/12.8, allocations: 1.139 MB / 4.623 GB, free: 21.25 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001151/12.8, allocations: 56 kB / 4.624 GB, free: 21.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004279/12.8, allocations: 319.5 kB / 4.624 GB, free: 20.89 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003579/12.8, allocations: 182.1 kB / 4.624 GB, free: 20.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003248/12.8, allocations: 139.9 kB / 4.624 GB, free: 20.57 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00374/12.81, allocations: 2.6 MB / 4.627 GB, free: 17.99 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.01e-07/12.81, allocations: 3.938 kB / 4.627 GB, free: 17.98 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01025/12.82, allocations: 2.88 MB / 4.629 GB, free: 15.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) * 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.003951/12.82, allocations: 1.812 MB / 4.631 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009752/12.83, allocations: 5.798 MB / 4.637 GB, free: 7.727 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.383e-06/12.83, allocations: 4.5 kB / 4.637 GB, free: 7.723 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003124/12.83, allocations: 1.953 MB / 4.639 GB, free: 5.758 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01019/12.84, allocations: 1.928 MB / 4.641 GB, free: 3.887 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01769/12.86, allocations: 8.065 MB / 4.649 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003213/12.86, allocations: 3.153 MB / 4.652 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.01241/12.88, allocations: 3.635 MB / 4.655 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001554/12.88, allocations: 343.1 kB / 4.656 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of SimCode: time 7.31e-07/12.88, allocations: 0 / 4.656 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of Templates: time 0.8037/13.68, allocations: 101.2 MB / 4.754 GB, free: 137.2 MB / 0.9792 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)