Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.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.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008976/0.0008976, allocations: 100.1 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.0009994/0.0009994, 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.474/1.474, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.674/1.674, 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.0005078/0.0005079, allocations: 18.95 kB / 0.6735 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2263, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Tubular): time 0.03296/0.2593, allocations: 30.89 MB / 0.8173 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.5844/0.8437, allocations: 135.6 MB / 0.9497 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002413/0.8462, allocations: 51.41 kB / 0.9497 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001711/0.8479, allocations: 0.5208 MB / 0.9502 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005561/0.8535, allocations: 1.677 MB / 0.9519 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005365/0.8589, allocations: 1.802 MB / 0.9536 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00902/0.8679, allocations: 6.837 MB / 0.9603 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006916/0.8748, allocations: 4.556 MB / 0.9648 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007595/0.8824, allocations: 2.781 MB / 0.9675 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00533/0.8878, allocations: 2.303 MB / 0.9697 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0008446/0.8887, allocations: 176.3 kB / 0.9699 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004118/0.8928, allocations: 0.9881 MB / 0.9709 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001048/0.8938, allocations: 0.9121 MB / 0.9717 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002047/0.8959, allocations: 1.042 MB / 0.9728 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007477/0.9034, allocations: 6.852 MB / 0.9795 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.9034, allocations: 0 / 0.9795 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.734e-06/0.9034, allocations: 3.031 kB / 0.9795 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002227/0.9036, allocations: 0 / 0.9795 GB, free: 12.74 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: 1037 * Number of variables: 1037 Notification: Performance of Generate backend data structure: time 0.01069/0.9143, allocations: 4.944 MB / 0.9843 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.9144, allocations: 11.84 kB / 0.9843 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008667/0.9231, allocations: 1.424 MB / 0.9857 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01017/0.9333, allocations: 4.636 MB / 0.9902 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/0.9335, allocations: 302.4 kB / 0.9905 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000909/0.9344, allocations: 391.2 kB / 0.9909 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01095/0.9454, allocations: 5.782 MB / 0.9965 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.36e-05/0.9455, allocations: 10.44 kB / 0.9965 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004063/0.9459, allocations: 167 kB / 0.9967 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001416/0.9461, allocations: 192.7 kB / 0.9969 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01108/0.9571, allocations: 5.567 MB / 1.002 GB, free: 4.398 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.03025/0.9874, allocations: 20.52 MB / 1.022 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006735/0.9942, allocations: 3.662 MB / 1.026 GB, free: 6.203 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002082/0.9963, allocations: 1.905 MB / 1.028 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003871/1, allocations: 2.076 MB / 1.03 GB, free: 2.418 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=267): time 5.1e-06/1, allocations: 4 kB / 1.03 GB, free: 2.414 MB / 0.7481 GB Notification: Performance of matching and sorting (n=267): time 0.01235/1.013, allocations: 5.111 MB / 1.035 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/1.013, allocations: 241.7 kB / 1.035 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006643/1.019, allocations: 3.745 MB / 1.039 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0004505/1.02, allocations: 73.95 kB / 1.039 GB, free: 11.63 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0021/1.022, allocations: 2.032 MB / 1.041 GB, free: 10.4 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001095/1.023, allocations: 0.9077 MB / 1.042 GB, free: 9.621 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000302/1.023, allocations: 59.44 kB / 1.042 GB, free: 9.609 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002601/1.024, allocations: 427.5 kB / 1.042 GB, free: 9.23 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003469/1.027, allocations: 1.544 MB / 1.044 GB, free: 8.191 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003846/1.031, allocations: 2.219 MB / 1.046 GB, free: 6.281 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003835/1.035, allocations: 1.887 MB / 1.048 GB, free: 4.68 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-05/1.035, allocations: 4 kB / 1.048 GB, free: 4.676 MB / 0.7637 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.009702/1.045, allocations: 4.371 MB / 1.052 GB, free: 264 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.002666/1.047, allocations: 7.521 MB / 1.059 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.819e-05/1.047, allocations: 19.95 kB / 1.059 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006269/1.048, allocations: 112.8 kB / 1.059 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003787/1.052, allocations: 0.8112 MB / 1.06 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002309/1.054, allocations: 2.163 MB / 1.062 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004475/1.059, allocations: 0.5119 MB / 1.063 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004159/1.059, allocations: 149.8 kB / 1.063 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/1.059, allocations: 4 kB / 1.063 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01248/1.071, allocations: 4.034 MB / 1.067 GB, free: 112 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.71e-05/1.072, allocations: 16.97 kB / 1.067 GB, free: 96 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007364/1.072, allocations: 116.8 kB / 1.067 GB, free: 15.97 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005048/1.077, allocations: 0.7995 MB / 1.068 GB, free: 15.18 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002633/1.08, allocations: 1.579 MB / 1.069 GB, free: 13.46 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006071/1.086, allocations: 492.8 kB / 1.07 GB, free: 12.98 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006653/1.087, allocations: 139.9 kB / 1.07 GB, free: 12.84 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (371): * Single equations (assignments): 369 * 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.004778/1.092, allocations: 1.542 MB / 1.071 GB, free: 11.29 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001905/1.094, allocations: 383.3 kB / 1.072 GB, free: 10.91 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/1.105, allocations: 4.389 MB / 1.076 GB, free: 6.461 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.599e-05/1.105, allocations: 31.98 kB / 1.076 GB, free: 6.43 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/1.105, allocations: 0 / 1.076 GB, free: 6.43 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007808/1.113, allocations: 3.512 MB / 1.08 GB, free: 2.828 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02059/1.134, allocations: 8.953 MB / 1.088 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/1.134, allocations: 0 / 1.088 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003258/1.137, allocations: 0.6359 MB / 1.089 GB, free: 9.199 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005319/1.138, allocations: 92.77 kB / 1.089 GB, free: 9.105 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003418/1.138, allocations: 87.92 kB / 1.089 GB, free: 9.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/1.14, allocations: 2.181 MB / 1.091 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.14, allocations: 8.109 kB / 1.091 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01305/1.153, allocations: 6.23 MB / 1.097 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002901/1.156, allocations: 1.077 MB / 1.098 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001091/1.157, allocations: 65.78 kB / 1.098 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003763/1.161, allocations: 330.8 kB / 1.099 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003602/1.161, allocations: 174 kB / 1.099 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004011/1.162, allocations: 139.8 kB / 1.099 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.005529/1.167, allocations: 2.636 MB / 1.102 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/1.167, allocations: 0 / 1.102 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.009098/1.176, allocations: 2.306 MB / 1.104 GB, free: 9.613 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (286): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002512/1.179, allocations: 0.8734 MB / 1.105 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0137/1.193, allocations: 6.148 MB / 1.111 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/1.193, allocations: 5 kB / 1.111 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.004267/1.197, allocations: 1.996 MB / 1.113 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01088/1.208, allocations: 2.006 MB / 1.115 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/1.23, allocations: 11.5 MB / 1.126 GB, free: 3.238 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003495/1.233, allocations: 3.18 MB / 1.129 GB, free: 28 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.007648/1.241, allocations: 2.128 MB / 1.131 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/1.242, allocations: 399.2 kB / 1.131 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of SimCode: time 7.92e-07/1.242, allocations: 0 / 1.131 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of Templates: time 0.1195/1.362, allocations: 79.89 MB / 1.209 GB, free: 14.34 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1) Environment - environmentSimulation: