Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 99.7 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.001169/0.001169, 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.562/1.562, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.61/1.61, allocations: 251.9 MB / 0.51 GB, free: 4.883 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.0005913/0.0005914, allocations: 12 kB / 0.6241 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5774/0.578, allocations: 106.3 MB / 0.728 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue): time 0.03369/0.6117, allocations: 30.9 MB / 0.7581 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1742/0.786, allocations: 135.6 MB / 0.8905 GB, free: 4.684 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002784/0.7888, allocations: 47.69 kB / 0.8906 GB, free: 4.637 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002024/0.7908, allocations: 0.5165 MB / 0.8911 GB, free: 4.117 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.006104/0.7969, allocations: 1.694 MB / 0.8928 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.005515/0.8025, allocations: 1.737 MB / 0.8944 GB, free: 0.707 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01051/0.813, allocations: 6.814 MB / 0.9011 GB, free: 9.887 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007747/0.8208, allocations: 4.54 MB / 0.9055 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007678/0.8285, allocations: 2.759 MB / 0.9082 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005918/0.8345, allocations: 2.298 MB / 0.9105 GB, free: 232 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001087/0.8356, allocations: 176 kB / 0.9106 GB, free: 56 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5513/1.387, allocations: 0.9817 MB / 0.9116 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002933/1.39, allocations: 0.8976 MB / 0.9125 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00363/1.394, allocations: 1.039 MB / 0.9135 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0136/1.407, allocations: 6.795 MB / 0.9201 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/1.407, allocations: 1.094 kB / 0.9201 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.266e-06/1.407, allocations: 1 kB / 0.9201 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0003848/1.408, allocations: 0 / 0.9201 GB, free: 10.38 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: 1038 * Number of variables: 1038 Notification: Performance of Generate backend data structure: time 0.01937/1.427, allocations: 4.943 MB / 0.925 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/1.427, allocations: 9.719 kB / 0.925 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/1.438, allocations: 1.43 MB / 0.9264 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01333/1.452, allocations: 4.601 MB / 0.9309 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003205/1.452, allocations: 300.5 kB / 0.9311 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002274/1.454, allocations: 402.3 kB / 0.9315 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01897/1.473, allocations: 5.729 MB / 0.9371 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001241/1.473, allocations: 13.52 kB / 0.9371 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006945/1.474, allocations: 169.6 kB / 0.9373 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002086/1.474, allocations: 182.8 kB / 0.9375 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01501/1.489, allocations: 5.591 MB / 0.9429 GB, free: 6.559 MB / 0.7169 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.04652/1.536, allocations: 20.19 MB / 0.9626 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009694/1.546, allocations: 3.622 MB / 0.9662 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002804/1.548, allocations: 1.907 MB / 0.968 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006475/1.555, allocations: 2.046 MB / 0.97 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=266): time 1.191e-05/1.555, allocations: 0 / 0.97 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=266): time 0.01782/1.573, allocations: 5.123 MB / 0.975 GB, free: 9.328 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001901/1.573, allocations: 239.1 kB / 0.9753 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0106/1.584, allocations: 3.753 MB / 0.9789 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001187/1.585, allocations: 77.92 kB / 0.979 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.003164/1.588, allocations: 2.045 MB / 0.981 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002155/1.59, allocations: 0.9083 MB / 0.9819 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008043/1.591, allocations: 59.69 kB / 0.9819 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0004364/1.592, allocations: 416.5 kB / 0.9823 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004481/1.596, allocations: 1.558 MB / 0.9839 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005277/1.601, allocations: 2.231 MB / 0.986 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005147/1.607, allocations: 1.897 MB / 0.9879 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.787e-05/1.607, allocations: 5.406 kB / 0.9879 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.01354/1.62, allocations: 4.387 MB / 0.9922 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.003606/1.624, allocations: 7.617 MB / 0.9996 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-05/1.624, allocations: 23.64 kB / 0.9997 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000719/1.625, allocations: 113.8 kB / 0.9998 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004919/1.63, allocations: 0.8011 MB / 1.001 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/1.632, allocations: 1.585 MB / 1.002 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006594/1.639, allocations: 0.5225 MB / 1.003 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001045/1.64, allocations: 143.3 kB / 1.003 GB, free: 9.672 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/1.64, allocations: 3.562 kB / 1.003 GB, free: 9.672 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01373/1.654, allocations: 4.046 MB / 1.007 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.804e-05/1.654, allocations: 24.03 kB / 1.007 GB, free: 8.027 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006075/1.655, allocations: 115.7 kB / 1.007 GB, free: 7.918 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004518/1.659, allocations: 0.8058 MB / 1.008 GB, free: 7.176 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/1.661, allocations: 1.579 MB / 1.009 GB, free: 5.613 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006335/1.668, allocations: 498.1 kB / 1.01 GB, free: 5.172 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001106/1.669, allocations: 144.7 kB / 1.01 GB, free: 5.055 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (372): * Single equations (assignments): 371 * 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.005759/1.675, allocations: 1.53 MB / 1.011 GB, free: 4.082 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002349/1.677, allocations: 395.2 kB / 1.012 GB, free: 3.691 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01347/1.691, allocations: 4.487 MB / 1.016 GB, free: 0.5273 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.112e-05/1.691, allocations: 28 kB / 1.016 GB, free: 0.5 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/1.691, allocations: 0 / 1.016 GB, free: 0.5 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009068/1.7, allocations: 3.507 MB / 1.019 GB, free: 13.94 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03101/1.731, allocations: 9.306 MB / 1.029 GB, free: 7.504 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.236e-05/1.731, allocations: 4 kB / 1.029 GB, free: 7.5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003852/1.735, allocations: 0.629 MB / 1.029 GB, free: 6.914 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006058/1.735, allocations: 94.28 kB / 1.029 GB, free: 6.828 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000759/1.736, allocations: 95.91 kB / 1.029 GB, free: 6.773 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/1.738, allocations: 1.576 MB / 1.031 GB, free: 5.219 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/1.738, allocations: 10.91 kB / 1.031 GB, free: 5.211 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0176/1.756, allocations: 6.725 MB / 1.037 GB, free: 232 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004924/1.761, allocations: 1.07 MB / 1.039 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002623/1.763, allocations: 65.11 kB / 1.039 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005631/1.769, allocations: 333.5 kB / 1.039 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008379/1.77, allocations: 188.2 kB / 1.039 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007213/1.771, allocations: 129.1 kB / 1.039 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.007621/1.778, allocations: 2.658 MB / 1.042 GB, free: 13 MB / 0.7794 GB Notification: Performance of sort global known variables: time 5.51e-07/1.778, allocations: 0 / 1.042 GB, free: 13 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.01441/1.793, allocations: 2.303 MB / 1.044 GB, free: 10.85 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (284): * Single equations (assignments): 275 * 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.003389/1.796, allocations: 0.8681 MB / 1.045 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01722/1.813, allocations: 6.161 MB / 1.051 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/1.814, allocations: 0.5625 kB / 1.051 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.005593/1.819, allocations: 2.027 MB / 1.053 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01274/1.832, allocations: 2.036 MB / 1.055 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03117/1.863, allocations: 11.53 MB / 1.066 GB, free: 8.434 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005416/1.869, allocations: 3.177 MB / 1.069 GB, free: 5.578 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.009514/1.878, allocations: 2.053 MB / 1.071 GB, free: 3.527 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001678/1.88, allocations: 401.7 kB / 1.072 GB, free: 3.164 MB / 0.795 GB Notification: Performance of SimCode: time 8.72e-07/1.88, allocations: 0 / 1.072 GB, free: 3.164 MB / 0.795 GB Notification: Performance of Templates: time 0.1456/2.025, allocations: 79.9 MB / 1.15 GB, free: 4.477 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1) Environment - environmentSimulation: