Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008947/0.0008947, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.0009959/0.0009959, allocations: 173.4 kB / 16.27 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.21/2.21, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004867/0.0004868, allocations: 8.281 kB / 0.8729 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5505/0.551, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.003577/0.5547, allocations: 3.368 MB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003466/0.5581, allocations: 2.498 MB / 1.029 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002012/0.5584, allocations: 11.94 kB / 1.029 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000586/0.559, allocations: 230.7 kB / 1.029 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008295/0.5598, allocations: 469.9 kB / 1.03 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009012/0.5607, allocations: 471.1 kB / 1.03 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001435/0.5622, allocations: 1.613 MB / 1.032 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.5624, allocations: 129.3 kB / 1.032 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004454/0.5628, allocations: 378.5 kB / 1.032 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006039/0.5634, allocations: 494.1 kB / 1.033 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.845e-05/0.5635, allocations: 28 kB / 1.033 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.62e-05/0.5636, allocations: 32 kB / 1.033 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002963/0.5639, allocations: 319 kB / 1.033 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003736/0.5643, allocations: 451.3 kB / 1.033 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006819/0.565, allocations: 0.8637 MB / 1.034 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.565, allocations: 0 / 1.034 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.272e-06/0.565, allocations: 0 / 1.034 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.565, allocations: 4 kB / 1.034 GB, free: 4.473 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001845/0.5669, allocations: 1.113 MB / 1.035 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.5669, allocations: 16.02 kB / 1.035 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.634e-05/0.567, allocations: 70.67 kB / 1.035 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.5672, allocations: 99.8 kB / 1.035 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008958/0.5681, allocations: 0.6403 MB / 1.036 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.5681, allocations: 45.03 kB / 1.036 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.782e-05/0.5682, allocations: 56.12 kB / 1.036 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000574/0.5688, allocations: 403 kB / 1.037 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5688, allocations: 3.938 kB / 1.037 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.5688, allocations: 16 kB / 1.037 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.5689, allocations: 8 kB / 1.037 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003898/0.5693, allocations: 230.3 kB / 1.037 GB, free: 1.656 MB / 0.7794 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.002801/0.5721, allocations: 2.521 MB / 1.039 GB, free: 14.94 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.5733, allocations: 495 kB / 1.04 GB, free: 14.45 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.5736, allocations: 153.2 kB / 1.04 GB, free: 14.29 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.5736, allocations: 4.234 kB / 1.04 GB, free: 14.29 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.5737, allocations: 34.8 kB / 1.04 GB, free: 14.25 MB / 0.795 GB Notification: Performance of pre-optimization done (n=28): time 1.463e-06/0.5737, allocations: 0 / 1.04 GB, free: 14.25 MB / 0.795 GB Notification: Performance of matching and sorting (n=30): time 0.001929/0.5756, allocations: 1.216 MB / 1.041 GB, free: 12.96 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.5756, allocations: 59.41 kB / 1.041 GB, free: 12.89 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.5768, allocations: 0.9154 MB / 1.042 GB, free: 11.96 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.5768, allocations: 45.64 kB / 1.042 GB, free: 11.91 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.5771, allocations: 376.7 kB / 1.042 GB, free: 11.54 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.98e-05/0.5772, allocations: 106.4 kB / 1.043 GB, free: 11.43 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.5773, allocations: 97.67 kB / 1.043 GB, free: 11.33 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.5775, allocations: 390.7 kB / 1.043 GB, free: 10.94 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003672/0.5778, allocations: 233.8 kB / 1.043 GB, free: 10.71 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006162/0.5784, allocations: 0.6271 MB / 1.044 GB, free: 9.895 MB / 0.795 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Notification: Performance of analyzeInitialSystem (initialization): time 0.002933/0.5814, allocations: 1.786 MB / 1.046 GB, free: 7.879 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.5814, allocations: 7.938 kB / 1.046 GB, free: 7.871 MB / 0.795 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001334/0.5827, allocations: 0.8997 MB / 1.046 GB, free: 6.961 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.5828, allocations: 12 kB / 1.046 GB, free: 6.949 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.5828, allocations: 12 kB / 1.046 GB, free: 6.938 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001522/0.583, allocations: 49.14 kB / 1.047 GB, free: 6.887 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006873/0.5837, allocations: 215.6 kB / 1.047 GB, free: 6.676 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/0.5847, allocations: 1.366 MB / 1.048 GB, free: 5.172 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000676/0.5854, allocations: 55.81 kB / 1.048 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/0.5854, allocations: 47.94 kB / 1.048 GB, free: 5.07 MB / 0.795 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003087/0.5857, allocations: 290.2 kB / 1.048 GB, free: 4.777 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.5859, allocations: 82.97 kB / 1.049 GB, free: 4.695 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.586, allocations: 80.52 kB / 1.049 GB, free: 4.617 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.586, allocations: 4 kB / 1.049 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.586, allocations: 3.938 kB / 1.049 GB, free: 4.609 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.586, allocations: 3.938 kB / 1.049 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.5876, allocations: 1.151 MB / 1.05 GB, free: 3.383 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5876, allocations: 0 / 1.05 GB, free: 3.383 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.588, allocations: 83.88 kB / 1.05 GB, free: 3.301 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001012/0.5881, allocations: 32.97 kB / 1.05 GB, free: 3.266 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.5881, allocations: 15.98 kB / 1.05 GB, free: 3.25 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008834/0.589, allocations: 1.323 MB / 1.051 GB, free: 1.793 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.589, allocations: 0 / 1.051 GB, free: 1.793 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008525/0.5899, allocations: 0.6714 MB / 1.052 GB, free: 1.09 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.5901, allocations: 196.1 kB / 1.052 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.684e-05/0.5902, allocations: 15.98 kB / 1.052 GB, free: 0.8633 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/0.5907, allocations: 20.05 kB / 1.052 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.5907, allocations: 27.97 kB / 1.052 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.5908, allocations: 8 kB / 1.052 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007905/0.5916, allocations: 0.62 MB / 1.053 GB, free: 196 kB / 0.795 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5916, allocations: 0 / 1.053 GB, free: 196 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006813/0.5922, allocations: 208 kB / 1.053 GB, free: 15.98 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001122/0.5934, allocations: 1.231 MB / 1.054 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001014/0.5944, allocations: 0.6381 MB / 1.055 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5944, allocations: 0 / 1.055 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003557/0.5948, allocations: 278.8 kB / 1.055 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00095/0.5957, allocations: 159.4 kB / 1.055 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009652/0.6054, allocations: 8.052 MB / 1.063 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005239/0.6059, allocations: 0.9799 MB / 1.064 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003908/0.6063, allocations: 161.8 kB / 1.064 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003531/0.6067, allocations: 291.3 kB / 1.064 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.6067, allocations: 0 / 1.064 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6319/1.239, allocations: 15.12 MB / 1.079 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002912/1.239, allocations: 232.3 kB / 1.079 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.86/4.099, allocations: 0 / 1.079 GB, free: 4.422 MB / 0.8262 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1)