Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.553/1.553, allocations: 251.9 MB / 0.51 GB, free: 4.891 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009538/0.0009539, allocations: 15.75 kB / 0.6241 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6657/0.6666, allocations: 106.3 MB / 0.728 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlate): time 0.04128/0.708, allocations: 38.32 MB / 0.7654 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1763/0.8843, allocations: 138 MB / 0.9001 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003656/0.8881, allocations: 47.69 kB / 0.9002 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003055/0.8912, allocations: 489.1 kB / 0.9007 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01209/0.9033, allocations: 3.391 MB / 0.904 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007648/0.9109, allocations: 2.481 MB / 0.9064 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.5744/1.485, allocations: 7.026 MB / 0.9132 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009992/1.495, allocations: 4.628 MB / 0.9178 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01457/1.51, allocations: 5.316 MB / 0.923 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007001/1.517, allocations: 2.355 MB / 0.9253 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001639/1.519, allocations: 177.2 kB / 0.9254 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01024/1.529, allocations: 3.441 MB / 0.9288 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002541/1.532, allocations: 0.9395 MB / 0.9297 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003022/1.535, allocations: 1.054 MB / 0.9307 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01479/1.549, allocations: 7.467 MB / 0.938 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/1.55, allocations: 0 / 0.938 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.905e-06/1.55, allocations: 2.812 kB / 0.938 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004237/1.55, allocations: 1.219 kB / 0.938 GB, free: 4.18 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01566/1.566, allocations: 5.119 MB / 0.943 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/1.566, allocations: 9.406 kB / 0.943 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01307/1.579, allocations: 1.771 MB / 0.9448 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01149/1.59, allocations: 4.419 MB / 0.9491 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002998/1.591, allocations: 302.8 kB / 0.9494 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001514/1.592, allocations: 392.6 kB / 0.9497 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0159/1.608, allocations: 5.883 MB / 0.9555 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.981e-05/1.608, allocations: 9.812 kB / 0.9555 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007313/1.609, allocations: 174 kB / 0.9557 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001786/1.609, allocations: 165.5 kB / 0.9558 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01496/1.624, allocations: 5.678 MB / 0.9614 GB, free: 14.1 MB / 0.7325 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.04381/1.668, allocations: 20.89 MB / 0.9818 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009218/1.677, allocations: 3.847 MB / 0.9855 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003207/1.68, allocations: 2.406 MB / 0.9879 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005609/1.686, allocations: 2.138 MB / 0.99 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=284): time 5.3e-06/1.686, allocations: 0 / 0.99 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of matching and sorting (n=284): time 0.01879/1.705, allocations: 6.876 MB / 0.9967 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001767/1.705, allocations: 235.9 kB / 0.9969 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007007/1.712, allocations: 3.623 MB / 1 GB, free: 8.809 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001137/1.713, allocations: 82.02 kB / 1.001 GB, free: 8.762 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002158/1.716, allocations: 2.01 MB / 1.002 GB, free: 7.551 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001848/1.717, allocations: 0.9659 MB / 1.003 GB, free: 6.723 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/1.718, allocations: 57.5 kB / 1.003 GB, free: 6.711 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002501/1.718, allocations: 429.7 kB / 1.004 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003801/1.722, allocations: 1.604 MB / 1.005 GB, free: 5.258 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00433/1.726, allocations: 2.229 MB / 1.008 GB, free: 3.402 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004408/1.73, allocations: 1.944 MB / 1.01 GB, free: 2.172 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.587e-05/1.73, allocations: 4 kB / 1.01 GB, free: 2.168 MB / 0.7481 GB Notification: Performance of matching and sorting (n=381) (initialization): time 0.01123/1.742, allocations: 4.492 MB / 1.014 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.002983/1.745, allocations: 6.65 MB / 1.02 GB, free: 7.914 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.417e-05/1.745, allocations: 16 kB / 1.02 GB, free: 7.898 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006587/1.746, allocations: 113 kB / 1.021 GB, free: 7.793 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004781/1.75, allocations: 0.7961 MB / 1.021 GB, free: 7.066 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002572/1.753, allocations: 2.16 MB / 1.023 GB, free: 4.906 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006434/1.759, allocations: 0.5305 MB / 1.024 GB, free: 4.426 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001147/1.761, allocations: 160.1 kB / 1.024 GB, free: 4.293 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/1.761, allocations: 8 kB / 1.024 GB, free: 4.285 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01324/1.774, allocations: 4.14 MB / 1.028 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-05/1.774, allocations: 16 kB / 1.028 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006148/1.775, allocations: 111.8 kB / 1.028 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004669/1.779, allocations: 0.7813 MB / 1.029 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/1.781, allocations: 1.581 MB / 1.031 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006187/1.788, allocations: 0.4907 MB / 1.031 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0016/1.789, allocations: 161.5 kB / 1.031 GB, free: 14.54 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (379): * Single equations (assignments): 377 * 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.005791/1.795, allocations: 1.554 MB / 1.033 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002117/1.797, allocations: 391.2 kB / 1.033 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01544/1.813, allocations: 5.082 MB / 1.038 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.71e-05/1.813, allocations: 32 kB / 1.038 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/1.813, allocations: 3.984 kB / 1.038 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0106/1.823, allocations: 4.083 MB / 1.042 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02879/1.852, allocations: 9.693 MB / 1.052 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.071e-05/1.852, allocations: 0 / 1.052 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003675/1.856, allocations: 0.6149 MB / 1.052 GB, free: 15.31 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003254/1.859, allocations: 0.6561 MB / 1.053 GB, free: 14.72 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007808/1.86, allocations: 104.8 kB / 1.053 GB, free: 14.66 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0063/1.866, allocations: 7.548 MB / 1.06 GB, free: 7.176 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.866, allocations: 0 / 1.06 GB, free: 7.176 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02055/1.887, allocations: 6.863 MB / 1.067 GB, free: 2.312 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004347/1.891, allocations: 1.086 MB / 1.068 GB, free: 1.512 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002195/1.894, allocations: 65.11 kB / 1.068 GB, free: 1.488 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005239/1.899, allocations: 307.4 kB / 1.068 GB, free: 1.227 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008992/1.9, allocations: 186.2 kB / 1.069 GB, free: 1.062 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000762/1.901, allocations: 139.7 kB / 1.069 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.006505/1.907, allocations: 2.543 MB / 1.071 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 6.41e-07/1.907, allocations: 3.938 kB / 1.071 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0137/1.921, allocations: 2.55 MB / 1.074 GB, free: 12.77 MB / 0.8106 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.004537/1.925, allocations: 1.088 MB / 1.075 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01837/1.944, allocations: 6.333 MB / 1.081 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.424e-05/1.944, allocations: 4.562 kB / 1.081 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.006113/1.95, allocations: 2.175 MB / 1.083 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01068/1.961, allocations: 1.904 MB / 1.085 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03105/1.992, allocations: 11.61 MB / 1.096 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005981/1.998, allocations: 3.213 MB / 1.099 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0118/2.01, allocations: 2.308 MB / 1.102 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002537/2.012, allocations: 443.3 kB / 1.102 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of SimCode: time 1.373e-06/2.012, allocations: 0 / 1.102 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of Templates: time 0.1483/2.161, allocations: 82.68 MB / 1.183 GB, free: 2.98 MB / 0.9044 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1) Environment - environmentSimulation: