Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.022/5.022, allocations: 0.5623 GB / 0.5775 GB, free: 3.309 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003176/0.003176, allocations: 355 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.626/4.626, allocations: 410.7 MB / 1.113 GB, free: 5.988 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001849/0.001849, allocations: 176.2 kB / 1.226 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005047/0.000505, allocations: 16 kB / 1.349 GB, free: 8.352 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7509/0.7514, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.766/7.517, allocations: 2.11 GB / 3.571 GB, free: 268.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003522/7.518, allocations: 100.7 kB / 3.571 GB, free: 268.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.303/13.82, allocations: 1.281 GB / 4.852 GB, free: 95.64 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.054e-06/13.82, allocations: 0 / 4.852 GB, free: 95.64 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009044/13.82, allocations: 135.8 kB / 4.852 GB, free: 95.51 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.02793/13.85, allocations: 6.351 MB / 4.859 GB, free: 89.08 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/13.85, allocations: 15.62 kB / 4.859 GB, free: 89.07 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01916/13.87, allocations: 1.597 MB / 4.86 GB, free: 87.46 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02174/13.89, allocations: 5.503 MB / 4.866 GB, free: 81.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004416/13.89, allocations: 283.4 kB / 4.866 GB, free: 81.62 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002047/13.89, allocations: 379.9 kB / 4.866 GB, free: 81.25 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02155/13.92, allocations: 5.471 MB / 4.872 GB, free: 75.61 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000155/13.92, allocations: 19.64 kB / 4.872 GB, free: 75.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001281/13.92, allocations: 160 kB / 4.872 GB, free: 75.44 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001603/13.92, allocations: 155.3 kB / 4.872 GB, free: 75.29 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02211/13.94, allocations: 5.329 MB / 4.877 GB, free: 69.95 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.05202/13.99, allocations: 19.06 MB / 4.896 GB, free: 50.45 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01425/14.01, allocations: 3.805 MB / 4.899 GB, free: 46.64 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007187/14.01, allocations: 1.905 MB / 4.901 GB, free: 44.73 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003398/14.02, allocations: 2.537 MB / 4.904 GB, free: 41.66 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008753/14.03, allocations: 2.128 MB / 4.906 GB, free: 39.48 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 6.923e-06/14.03, allocations: 0 / 4.906 GB, free: 39.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=284): time 0.03088/14.06, allocations: 6.818 MB / 4.913 GB, free: 32.43 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/14.06, allocations: 295.2 kB / 4.913 GB, free: 32.08 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009292/14.07, allocations: 3.619 MB / 4.916 GB, free: 28.47 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001097/14.07, allocations: 77.7 kB / 4.916 GB, free: 28.39 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002855/14.07, allocations: 1.949 MB / 4.918 GB, free: 26.42 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002065/14.07, allocations: 0.9627 MB / 4.919 GB, free: 25.45 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004194/14.07, allocations: 60 kB / 4.919 GB, free: 25.39 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000276/14.07, allocations: 424.1 kB / 4.92 GB, free: 24.96 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006637/14.08, allocations: 1.595 MB / 4.921 GB, free: 23.37 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007727/14.09, allocations: 2.26 MB / 4.924 GB, free: 20.86 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007599/14.09, allocations: 1.939 MB / 4.925 GB, free: 18.91 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-05/14.09, allocations: 8 kB / 4.925 GB, free: 18.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.0192/14.11, allocations: 4.464 MB / 4.93 GB, free: 14.39 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003374/14.11, allocations: 0.5466 MB / 4.93 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/14.11, allocations: 20 kB / 4.93 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/14.12, allocations: 104.8 kB / 4.93 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008233/14.12, allocations: 0.8034 MB / 4.931 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003078/14.13, allocations: 2.153 MB / 4.933 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009053/14.14, allocations: 0.5083 MB / 4.934 GB, free: 9.863 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001199/14.14, allocations: 160.1 kB / 4.934 GB, free: 9.707 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/14.14, allocations: 5.406 kB / 4.934 GB, free: 9.703 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01821/14.16, allocations: 4.13 MB / 4.938 GB, free: 5.535 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-05/14.16, allocations: 16 kB / 4.938 GB, free: 5.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009589/14.16, allocations: 113.5 kB / 4.938 GB, free: 5.406 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007857/14.16, allocations: 0.7878 MB / 4.939 GB, free: 4.617 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/14.17, allocations: 1.563 MB / 4.94 GB, free: 2.918 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008819/14.18, allocations: 477.1 kB / 4.941 GB, free: 2.449 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001212/14.18, allocations: 155.9 kB / 4.941 GB, free: 2.297 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.005106/14.18, allocations: 1.538 MB / 4.943 GB, free: 0.75 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001728/14.18, allocations: 391.2 kB / 4.943 GB, free: 372 kB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02612/14.21, allocations: 5.137 MB / 4.948 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.819e-05/14.21, allocations: 28 kB / 4.948 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/14.21, allocations: 3.984 kB / 4.948 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01979/14.23, allocations: 4.063 MB / 4.952 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8412/15.07, allocations: 9.851 MB / 4.962 GB, free: 167 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/15.07, allocations: 3.938 kB / 4.962 GB, free: 167 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006787/15.08, allocations: 0.6143 MB / 4.962 GB, free: 167 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004989/15.08, allocations: 0.668 MB / 4.963 GB, free: 166.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008283/15.08, allocations: 102.7 kB / 4.963 GB, free: 166.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006696/15.09, allocations: 7.534 MB / 4.97 GB, free: 160.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/15.09, allocations: 3.25 kB / 4.97 GB, free: 160.4 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02661/15.12, allocations: 6.745 MB / 4.977 GB, free: 160.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004173/15.12, allocations: 1.09 MB / 4.978 GB, free: 159.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00149/15.12, allocations: 58.16 kB / 4.978 GB, free: 159.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007441/15.13, allocations: 320.7 kB / 4.978 GB, free: 159.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007652/15.13, allocations: 188.6 kB / 4.978 GB, free: 159.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005761/15.13, allocations: 138.9 kB / 4.979 GB, free: 159.9 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.007799/15.14, allocations: 2.538 MB / 4.981 GB, free: 159.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.714e-06/15.14, allocations: 1.219 kB / 4.981 GB, free: 159.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01408/15.15, allocations: 2.849 MB / 4.984 GB, free: 159.6 MB / 0.9636 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.006002/15.16, allocations: 1.826 MB / 4.986 GB, free: 159.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02408/15.18, allocations: 6.3 MB / 4.992 GB, free: 159.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/15.18, allocations: 4.438 kB / 4.992 GB, free: 159.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.008491/15.19, allocations: 2.163 MB / 4.994 GB, free: 159 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01732/15.21, allocations: 1.981 MB / 4.996 GB, free: 159 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03102/15.24, allocations: 11.4 MB / 5.007 GB, free: 155 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004315/15.25, allocations: 3.144 MB / 5.01 GB, free: 154.2 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.01412/15.26, allocations: 2.388 MB / 5.012 GB, free: 154.2 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002986/15.26, allocations: 419.9 kB / 5.013 GB, free: 154.2 MB / 0.9636 GB Notification: Performance of SimCode: time 1.393e-06/15.26, allocations: 0.8438 kB / 5.013 GB, free: 154.2 MB / 0.9636 GB Notification: Performance of Templates: time 0.2255/15.49, allocations: 92.04 MB / 5.103 GB, free: 150.4 MB / 0.9636 GB