Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.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.Concentrating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating") translateModel(Buildings.Fluid.SolarCollectors.Examples.Concentrating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 103 kB / 15.06 MB, free: 1.098 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.001372/0.001372, allocations: 173.3 kB / 15.95 MB, free: 212 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.708/1.708, 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 7.0.3-maint.7.0.x/package.mo): time 1.598/1.598, allocations: 251.9 MB / 0.51 GB, free: 4.926 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.0005876/0.0005879, allocations: 19.59 kB / 0.6241 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5247/0.5253, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Concentrating): time 0.03451/0.5598, allocations: 30.85 MB / 0.7581 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1769/0.7368, allocations: 135.5 MB / 0.8904 GB, free: 4.648 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003925/0.7408, allocations: 47.69 kB / 0.8905 GB, free: 4.602 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002729/0.7436, allocations: 0.5165 MB / 0.891 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.007673/0.7512, allocations: 1.685 MB / 0.8926 GB, free: 2.395 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006258/0.7575, allocations: 1.724 MB / 0.8943 GB, free: 0.6914 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01192/0.7695, allocations: 6.806 MB / 0.901 GB, free: 9.879 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0083/0.7778, allocations: 4.52 MB / 0.9054 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00661/0.7844, allocations: 2.748 MB / 0.9081 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005801/0.7903, allocations: 2.274 MB / 0.9103 GB, free: 280 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001958/0.7923, allocations: 172 kB / 0.9105 GB, free: 108 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5424/1.335, allocations: 0.9797 MB / 0.9114 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002272/1.337, allocations: 0.8928 MB / 0.9123 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00279/1.34, allocations: 1.036 MB / 0.9133 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0121/1.352, allocations: 6.757 MB / 0.9199 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/1.352, allocations: 0 / 0.9199 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.186e-06/1.352, allocations: 0 / 0.9199 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0003534/1.352, allocations: 2.656 kB / 0.9199 GB, free: 10.35 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: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01878/1.371, allocations: 4.92 MB / 0.9247 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.676e-05/1.371, allocations: 8.25 kB / 0.9247 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01107/1.382, allocations: 1.299 MB / 0.926 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01419/1.397, allocations: 4.557 MB / 0.9304 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000502/1.397, allocations: 298.8 kB / 0.9307 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00268/1.4, allocations: 397.3 kB / 0.9311 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01679/1.417, allocations: 5.689 MB / 0.9366 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001621/1.417, allocations: 6.469 kB / 0.9367 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008831/1.418, allocations: 169.5 kB / 0.9368 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001885/1.418, allocations: 193.4 kB / 0.937 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01434/1.432, allocations: 5.487 MB / 0.9424 GB, free: 6.551 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.05044/1.483, allocations: 20.37 MB / 0.9623 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009244/1.492, allocations: 3.648 MB / 0.9658 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002821/1.495, allocations: 1.909 MB / 0.9677 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006064/1.501, allocations: 1.996 MB / 0.9696 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=266): time 1.185e-05/1.501, allocations: 0 / 0.9696 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=266): time 0.01655/1.518, allocations: 5.01 MB / 0.9745 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000178/1.518, allocations: 239.4 kB / 0.9747 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0098/1.528, allocations: 3.72 MB / 0.9784 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001268/1.529, allocations: 77.36 kB / 0.9785 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.003826/1.533, allocations: 2.025 MB / 0.9804 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002762/1.536, allocations: 0.9078 MB / 0.9813 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008202/1.537, allocations: 55.94 kB / 0.9814 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0004374/1.537, allocations: 422.8 kB / 0.9818 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00494/1.542, allocations: 1.498 MB / 0.9832 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005769/1.548, allocations: 2.171 MB / 0.9854 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005183/1.553, allocations: 1.844 MB / 0.9872 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.891e-05/1.553, allocations: 6.344 kB / 0.9872 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of matching and sorting (n=368) (initialization): time 0.01396/1.567, allocations: 4.27 MB / 0.9913 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.003171/1.57, allocations: 7.516 MB / 0.9987 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.562e-05/1.57, allocations: 15.09 kB / 0.9987 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007512/1.571, allocations: 111.1 kB / 0.9988 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004991/1.576, allocations: 0.7975 MB / 0.9996 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002906/1.579, allocations: 2.167 MB / 1.002 GB, free: 9.453 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006688/1.586, allocations: 0.5044 MB / 1.002 GB, free: 9.191 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001201/1.587, allocations: 146.2 kB / 1.002 GB, free: 9.168 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/1.587, allocations: 3.875 kB / 1.002 GB, free: 9.168 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01248/1.6, allocations: 3.929 MB / 1.006 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-05/1.6, allocations: 16 kB / 1.006 GB, free: 8.074 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006475/1.6, allocations: 118.5 kB / 1.006 GB, free: 7.965 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005144/1.606, allocations: 0.7788 MB / 1.007 GB, free: 7.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003307/1.609, allocations: 1.584 MB / 1.009 GB, free: 5.684 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008045/1.617, allocations: 475.3 kB / 1.009 GB, free: 5.262 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001475/1.619, allocations: 144.5 kB / 1.009 GB, free: 5.145 MB / 0.7481 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 (366): * Single equations (assignments): 364 * 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.007065/1.626, allocations: 1.527 MB / 1.011 GB, free: 4.176 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002596/1.628, allocations: 379.4 kB / 1.011 GB, free: 3.801 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01444/1.643, allocations: 4.327 MB / 1.015 GB, free: 0.7656 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001294/1.643, allocations: 28 kB / 1.015 GB, free: 0.7383 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/1.643, allocations: 0 / 1.015 GB, free: 0.7383 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009371/1.652, allocations: 3.435 MB / 1.019 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02726/1.68, allocations: 8.829 MB / 1.027 GB, free: 8.309 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/1.68, allocations: 9.297 kB / 1.027 GB, free: 8.301 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004284/1.684, allocations: 0.6182 MB / 1.028 GB, free: 7.727 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006756/1.685, allocations: 94.23 kB / 1.028 GB, free: 7.641 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009957/1.686, allocations: 87.92 kB / 1.028 GB, free: 7.594 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002378/1.688, allocations: 2.164 MB / 1.03 GB, free: 5.434 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.688, allocations: 0 / 1.03 GB, free: 5.434 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01737/1.706, allocations: 6.133 MB / 1.036 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004346/1.71, allocations: 1.059 MB / 1.037 GB, free: 336 kB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002091/1.712, allocations: 55.75 kB / 1.037 GB, free: 320 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004956/1.717, allocations: 318.9 kB / 1.038 GB, free: 48 kB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000661/1.718, allocations: 177.2 kB / 1.038 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006252/1.718, allocations: 120.9 kB / 1.038 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.006116/1.725, allocations: 2.631 MB / 1.04 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of sort global known variables: time 5.81e-07/1.725, allocations: 0 / 1.04 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.01217/1.737, allocations: 2.29 MB / 1.043 GB, free: 11.82 MB / 0.7794 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 (285): * 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): 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.003396/1.74, allocations: 0.8764 MB / 1.043 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01702/1.757, allocations: 5.988 MB / 1.049 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.941e-05/1.757, allocations: 0.5625 kB / 1.049 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.005165/1.762, allocations: 1.958 MB / 1.051 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01247/1.775, allocations: 2.017 MB / 1.053 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03013/1.805, allocations: 11.46 MB / 1.064 GB, free: 9.645 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005613/1.811, allocations: 3.167 MB / 1.068 GB, free: 6.801 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.01206/1.823, allocations: 2.098 MB / 1.07 GB, free: 4.703 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00291/1.826, allocations: 394.6 kB / 1.07 GB, free: 4.348 MB / 0.795 GB Notification: Performance of SimCode: time 1.253e-06/1.826, allocations: 0 / 1.07 GB, free: 4.348 MB / 0.795 GB Notification: Performance of Templates: time 0.173/1.999, allocations: 79.04 MB / 1.147 GB, free: 6.535 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1) Environment - environmentSimulation: