Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.StepResponseFiniteDifference.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.StepResponseFiniteDifference,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.StepResponseFiniteDifference") translateModel(Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.StepResponseFiniteDifference,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.StepResponseFiniteDifference") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.367/1.367, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009097/0.0009097, allocations: 173.2 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008133/0.0008136, allocations: 80.5 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003144/0.0003145, allocations: 14.66 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1901, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.StepResponseFiniteDifference): time 0.02095/0.2111, allocations: 31.24 MB / 0.9273 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01404/0.2252, allocations: 12.36 MB / 0.9393 GB, free: 24.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002378/0.2276, allocations: 51.69 kB / 0.9394 GB, free: 24.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003368/0.231, allocations: 0.9721 MB / 0.9403 GB, free: 23.4 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/HeatExchangers/RadiantSlabs/BaseClasses/Functions/AverageResistance.mo:2:1-101:22:writable] Warning: Pure function ‘Buildings.Fluid.HeatExchangers.RadiantSlabs.BaseClasses.Functions.AverageResistance‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeBindings: time 0.005709/0.2368, allocations: 1.907 MB / 0.9422 GB, free: 21.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004769/0.2416, allocations: 1.605 MB / 0.9437 GB, free: 19.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01817/0.2597, allocations: 22.69 MB / 0.9659 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009584/0.2694, allocations: 5.418 MB / 0.9712 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01043/0.2799, allocations: 5.189 MB / 0.9763 GB, free: 2.449 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009801/0.2897, allocations: 5.07 MB / 0.9812 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.00213/0.2919, allocations: 308 kB / 0.9815 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007663/0.2996, allocations: 2.715 MB / 0.9842 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.00398/0.3036, allocations: 2.351 MB / 0.9865 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.007783/0.3114, allocations: 3.995 MB / 0.9904 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01857/0.33, allocations: 14.97 MB / 1.005 GB, free: 4.949 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.33, allocations: 4 kB / 1.005 GB, free: 4.945 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.224e-06/0.33, allocations: 0 / 1.005 GB, free: 4.945 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004447/0.3305, allocations: 0 / 1.005 GB, free: 4.945 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 866 * Number of variables: 866 Notification: Performance of Generate backend data structure: time 0.025/0.3555, allocations: 10.01 MB / 1.015 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.3556, allocations: 15.97 kB / 1.015 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004788/0.3604, allocations: 0.8731 MB / 1.016 GB, free: 9.93 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02781/0.3882, allocations: 11.87 MB / 1.027 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000378/0.3886, allocations: 334.8 kB / 1.028 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001673/0.3903, allocations: 483.7 kB / 1.028 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01034/0.4007, allocations: 5.625 MB / 1.033 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.171e-05/0.4008, allocations: 11.94 kB / 1.034 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003629/0.4012, allocations: 144 kB / 1.034 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-05/0.4013, allocations: 107.8 kB / 1.034 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007811/0.4091, allocations: 4.458 MB / 1.038 GB, free: 2.574 MB / 0.6823 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.4569/0.866, allocations: 29.25 MB / 1.067 GB, free: 124.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01034/0.8764, allocations: 4.881 MB / 1.071 GB, free: 124.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003802/0.8802, allocations: 2.222 MB / 1.074 GB, free: 124.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01907/0.8993, allocations: 10.19 MB / 1.084 GB, free: 119.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002625/0.902, allocations: 1.804 MB / 1.085 GB, free: 119 MB / 0.698 GB Notification: Performance of pre-optimization done (n=224): time 5.109e-06/0.902, allocations: 0 / 1.085 GB, free: 119 MB / 0.698 GB Notification: Performance of matching and sorting (n=232): time 0.02229/0.9243, allocations: 12.94 MB / 1.098 GB, free: 111.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.9244, allocations: 133.7 kB / 1.098 GB, free: 111.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01275/0.9372, allocations: 8.814 MB / 1.107 GB, free: 107.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.00071/0.9379, allocations: 120 kB / 1.107 GB, free: 107.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002915/0.9408, allocations: 3.325 MB / 1.11 GB, free: 104.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001262/0.9421, allocations: 0.8675 MB / 1.111 GB, free: 103.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007219/0.9429, allocations: 0.5812 MB / 1.111 GB, free: 103.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.581e-05/0.9429, allocations: 305.1 kB / 1.112 GB, free: 103.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003316/0.9462, allocations: 2.772 MB / 1.114 GB, free: 101.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003959/0.9502, allocations: 5.282 MB / 1.12 GB, free: 94.9 MB / 0.698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: sla.con_a[1].lay[1].T[1] = sla.con_a[1].lay[1].T_a_start (sla.con_a[5].lay[1].T_a_start = sla.con_a[1].lay[1].T_a_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: sla.con_a[2].lay[1].T[1] = sla.con_a[2].lay[1].T_a_start (sla.con_a[5].lay[1].T_a_start = sla.con_a[2].lay[1].T_a_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: sla.con_a[3].lay[1].T[1] = sla.con_a[3].lay[1].T_a_start (sla.con_a[5].lay[1].T_a_start = sla.con_a[3].lay[1].T_a_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: sla.con_a[4].lay[1].T[1] = sla.con_a[4].lay[1].T_a_start (sla.con_a[5].lay[1].T_a_start = sla.con_a[4].lay[1].T_a_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: sla.con_b[1].lay[2].T[3] = sla.con_b[1].lay[2].T_b_start (sla.con_b[5].lay[2].T_b_start = sla.con_b[1].lay[2].T_b_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: sla.con_b[2].lay[2].T[3] = sla.con_b[2].lay[2].T_b_start (sla.con_b[5].lay[2].T_b_start = sla.con_b[2].lay[2].T_b_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: sla.con_b[3].lay[2].T[3] = sla.con_b[3].lay[2].T_b_start (sla.con_b[5].lay[2].T_b_start = sla.con_b[3].lay[2].T_b_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: sla.con_b[4].lay[2].T[3] = sla.con_b[4].lay[2].T_b_start (sla.con_b[5].lay[2].T_b_start = sla.con_b[4].lay[2].T_b_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.03353/0.9837, allocations: 27.67 MB / 1.147 GB, free: 65.81 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-05/0.9838, allocations: 24 kB / 1.147 GB, free: 65.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=659) (initialization): time 0.01253/0.9964, allocations: 9.418 MB / 1.156 GB, free: 56.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001199/0.9976, allocations: 2.628 MB / 1.158 GB, free: 52.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-05/0.9977, allocations: 84 kB / 1.159 GB, free: 52.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007626/0.9984, allocations: 0.5299 MB / 1.159 GB, free: 51.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00379/1.002, allocations: 1.314 MB / 1.16 GB, free: 50.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006735/1.009, allocations: 12.37 MB / 1.172 GB, free: 37.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007064/1.016, allocations: 0.7482 MB / 1.173 GB, free: 36.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009051/1.017, allocations: 280 kB / 1.173 GB, free: 36.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/1.017, allocations: 4 kB / 1.173 GB, free: 36.07 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01357/1.031, allocations: 8.813 MB / 1.182 GB, free: 27.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000276/1.031, allocations: 84.94 kB / 1.182 GB, free: 26.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009214/1.032, allocations: 0.5249 MB / 1.183 GB, free: 26.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004465/1.036, allocations: 1.318 MB / 1.184 GB, free: 25.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007078/1.043, allocations: 12.37 MB / 1.196 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006987/1.05, allocations: 0.7328 MB / 1.197 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001075/1.052, allocations: 280 kB / 1.197 GB, free: 10.82 MB / 0.698 GB Warning: The initial conditions are over specified. The following 8 initial equations are redundant, so they are removed from the initialization sytem: sla.con_a[1].lay[1].T[1] = sla.con_a[1].lay[1].T_a_start sla.con_a[2].lay[1].T[1] = sla.con_a[2].lay[1].T_a_start sla.con_a[3].lay[1].T[1] = sla.con_a[3].lay[1].T_a_start sla.con_a[4].lay[1].T[1] = sla.con_a[4].lay[1].T_a_start sla.con_b[1].lay[2].T[3] = sla.con_b[1].lay[2].T_b_start sla.con_b[2].lay[2].T[3] = sla.con_b[2].lay[2].T_b_start sla.con_b[3].lay[2].T[3] = sla.con_b[3].lay[2].T_b_start sla.con_b[4].lay[2].T[3] = sla.con_b[4].lay[2].T_b_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 384 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.pulse.count,$PRE.pulse.T_start,pulse.count,pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (635): * Single equations (assignments): 627 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,9,100.0%), (1,1,100.0%), (1,9,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005758/1.057, allocations: 3.892 MB / 1.201 GB, free: 6.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00193/1.059, allocations: 0.6594 MB / 1.201 GB, free: 6.242 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008004/1.067, allocations: 5.038 MB / 1.206 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005239/1.073, allocations: 3.871 MB / 1.21 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/1.073, allocations: 0 / 1.21 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00353/1.076, allocations: 1.269 MB / 1.211 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001761/1.078, allocations: 123.9 kB / 1.211 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004184/1.082, allocations: 406.9 kB / 1.212 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004077/1.083, allocations: 165.7 kB / 1.212 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0107/1.093, allocations: 5.576 MB / 1.217 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009844/1.103, allocations: 6.686 MB / 1.224 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002587/1.106, allocations: 1.983 MB / 1.226 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.01335/1.119, allocations: 6.264 MB / 1.232 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of Backend: time 9.22e-07/1.119, allocations: 3.938 kB / 1.232 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.02327/1.142, allocations: 10.74 MB / 1.243 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of SimCode: time 0.03939/1.182, allocations: 22.55 MB / 1.265 GB, free: 5.133 MB / 0.7605 GB Notification: Performance of Templates: time 0.591/1.773, allocations: 141.1 MB / 1.402 GB, free: 279.8 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.StepResponseFiniteDifference.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.StepResponseFiniteDifference.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.StepResponseFiniteDifference.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.StepResponseFiniteDifference.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.StepResponseFiniteDifference.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.StepResponseFiniteDifference -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.StepResponseFiniteDifference.pipe 2>&1)