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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, 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.001216/0.001216, allocations: 177.3 kB / 15.94 MB, free: 228 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.38/1.38, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.588/1.588, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.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.0006114/0.0006118, allocations: 18.69 kB / 0.6735 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2648, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue): time 0.03267/0.2975, allocations: 30.89 MB / 0.8173 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.6222/0.9198, allocations: 135.6 MB / 0.9497 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002751/0.9226, allocations: 51.31 kB / 0.9497 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002229/0.9248, allocations: 0.5193 MB / 0.9502 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006417/0.9313, allocations: 1.682 MB / 0.9519 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006045/0.9373, allocations: 1.79 MB / 0.9536 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01071/0.948, allocations: 6.834 MB / 0.9603 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008438/0.9565, allocations: 4.549 MB / 0.9647 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006677/0.9632, allocations: 2.777 MB / 0.9674 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005735/0.969, allocations: 2.303 MB / 0.9697 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001358/0.9704, allocations: 176.9 kB / 0.9699 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005195/0.9756, allocations: 0.9927 MB / 0.9708 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001713/0.9773, allocations: 0.9121 MB / 0.9717 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002479/0.9798, allocations: 1.041 MB / 0.9727 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.008535/0.9884, allocations: 6.858 MB / 0.9794 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.9884, allocations: 0 / 0.9794 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9884, allocations: 0 / 0.9794 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0003098/0.9887, allocations: 0 / 0.9794 GB, free: 12.68 MB / 0.7325 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.01215/1.001, allocations: 4.955 MB / 0.9843 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/1.001, allocations: 9.219 kB / 0.9843 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009267/1.01, allocations: 1.424 MB / 0.9857 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01248/1.023, allocations: 4.616 MB / 0.9902 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002902/1.023, allocations: 299.4 kB / 0.9905 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001637/1.025, allocations: 412.3 kB / 0.9909 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01315/1.038, allocations: 5.783 MB / 0.9965 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/1.038, allocations: 11.88 kB / 0.9965 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005399/1.039, allocations: 165.8 kB / 0.9967 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001647/1.039, allocations: 183.6 kB / 0.9969 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01215/1.051, allocations: 5.593 MB / 1.002 GB, free: 4.344 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.03461/1.086, allocations: 20.25 MB / 1.022 GB, free: 8.836 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007682/1.093, allocations: 3.617 MB / 1.026 GB, free: 6.449 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002386/1.096, allocations: 1.906 MB / 1.027 GB, free: 4.199 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004738/1.1, allocations: 2.076 MB / 1.03 GB, free: 2.664 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=266): time 7.113e-06/1.1, allocations: 0 / 1.03 GB, free: 2.664 MB / 0.7481 GB Notification: Performance of matching and sorting (n=266): time 0.01352/1.114, allocations: 5.13 MB / 1.035 GB, free: 14.89 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/1.114, allocations: 242.4 kB / 1.035 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007253/1.121, allocations: 3.759 MB / 1.038 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0004687/1.122, allocations: 81.94 kB / 1.039 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002277/1.124, allocations: 2.04 MB / 1.041 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001058/1.125, allocations: 0.909 MB / 1.041 GB, free: 9.832 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003176/1.126, allocations: 58.31 kB / 1.041 GB, free: 9.82 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002609/1.126, allocations: 422.6 kB / 1.042 GB, free: 9.445 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003594/1.129, allocations: 1.55 MB / 1.043 GB, free: 8.398 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004218/1.134, allocations: 2.242 MB / 1.046 GB, free: 6.461 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004119/1.138, allocations: 1.888 MB / 1.047 GB, free: 4.957 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.321e-05/1.138, allocations: 8 kB / 1.047 GB, free: 4.949 MB / 0.7637 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.01039/1.148, allocations: 4.387 MB / 1.052 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.002825/1.151, allocations: 7.616 MB / 1.059 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.195e-05/1.151, allocations: 20 kB / 1.059 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006402/1.152, allocations: 116.7 kB / 1.059 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003891/1.156, allocations: 0.8034 MB / 1.06 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/1.158, allocations: 1.584 MB / 1.062 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004585/1.162, allocations: 0.5236 MB / 1.062 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005926/1.163, allocations: 143.9 kB / 1.062 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/1.163, allocations: 7.938 kB / 1.062 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009947/1.173, allocations: 4.045 MB / 1.066 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.236e-05/1.173, allocations: 20.88 kB / 1.066 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005797/1.174, allocations: 112.8 kB / 1.066 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00401/1.178, allocations: 0.7996 MB / 1.067 GB, free: 15.92 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/1.18, allocations: 1.593 MB / 1.069 GB, free: 14.19 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00437/1.184, allocations: 496.7 kB / 1.069 GB, free: 13.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006766/1.185, allocations: 143.9 kB / 1.069 GB, free: 13.56 MB / 0.795 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.003838/1.189, allocations: 1.535 MB / 1.071 GB, free: 12.02 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001602/1.19, allocations: 387.3 kB / 1.071 GB, free: 11.63 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/1.202, allocations: 4.491 MB / 1.076 GB, free: 7.082 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.495e-05/1.202, allocations: 32 kB / 1.076 GB, free: 7.051 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.202, allocations: 1.75 kB / 1.076 GB, free: 7.051 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007944/1.21, allocations: 3.507 MB / 1.079 GB, free: 3.453 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02015/1.23, allocations: 9.326 MB / 1.088 GB, free: 10 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/1.23, allocations: 4 kB / 1.088 GB, free: 10 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00327/1.234, allocations: 0.6284 MB / 1.089 GB, free: 9.371 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005487/1.234, allocations: 96.77 kB / 1.089 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003264/1.234, allocations: 91.92 kB / 1.089 GB, free: 9.184 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/1.236, allocations: 1.583 MB / 1.09 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/1.236, allocations: 8.062 kB / 1.09 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0134/1.25, allocations: 6.732 MB / 1.097 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003144/1.253, allocations: 1.081 MB / 1.098 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001252/1.254, allocations: 63.98 kB / 1.098 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004015/1.258, allocations: 323.4 kB / 1.098 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003997/1.259, allocations: 189.8 kB / 1.099 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003977/1.259, allocations: 139.9 kB / 1.099 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.004758/1.264, allocations: 2.652 MB / 1.101 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/1.264, allocations: 0 / 1.101 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.007491/1.271, allocations: 2.304 MB / 1.104 GB, free: 9.746 MB / 0.8262 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.002168/1.273, allocations: 0.8829 MB / 1.104 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01305/1.287, allocations: 6.159 MB / 1.11 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/1.287, allocations: 5 kB / 1.11 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.004147/1.291, allocations: 2.011 MB / 1.112 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009252/1.3, allocations: 2.037 MB / 1.114 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02053/1.321, allocations: 11.55 MB / 1.126 GB, free: 3.207 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00387/1.324, allocations: 3.176 MB / 1.129 GB, free: 0 / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.008458/1.333, allocations: 2.073 MB / 1.131 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001601/1.335, allocations: 403.1 kB / 1.131 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of SimCode: time 6.91e-07/1.335, allocations: 0 / 1.131 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of Templates: time 0.121/1.456, allocations: 80.46 MB / 1.21 GB, free: 13.82 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: