Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_latest_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.001696/0.001696, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002298/0.002298, allocations: 194 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.575/2.575, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.86/4.86, allocations: 461.9 MB / 0.7343 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002299/0.002299, allocations: 65.22 kB / 0.8987 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4552/0.4575, allocations: 157.4 MB / 1.052 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.007221/0.4648, allocations: 3.755 MB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006027/0.4709, allocations: 2.501 MB / 1.059 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004173/0.4713, allocations: 15.88 kB / 1.059 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.4724, allocations: 218.8 kB / 1.059 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.4738, allocations: 462 kB / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.4756, allocations: 0.4944 MB / 1.06 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00212/0.4777, allocations: 1.375 MB / 1.061 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003732/0.4781, allocations: 149 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007827/0.4789, allocations: 442.4 kB / 1.062 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009343/0.4798, allocations: 0.5177 MB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.48, allocations: 52 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.4802, allocations: 56 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004824/0.4807, allocations: 347 kB / 1.063 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006704/0.4814, allocations: 457.5 kB / 1.063 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.4825, allocations: 0.8952 MB / 1.064 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.4826, allocations: 0 / 1.064 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4826, allocations: 0 / 1.064 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.4826, allocations: 0 / 1.064 GB, free: 12.83 MB / 0.8262 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.003133/0.4857, allocations: 1.249 MB / 1.065 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.4858, allocations: 8.625 kB / 1.065 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001168/0.4859, allocations: 70.72 kB / 1.065 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002227/0.4862, allocations: 103.7 kB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.4876, allocations: 0.6558 MB / 1.066 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.39e-05/0.4877, allocations: 41.03 kB / 1.066 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.4878, allocations: 60.12 kB / 1.066 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009274/0.4888, allocations: 402.9 kB / 1.066 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.4888, allocations: 4 kB / 1.066 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/0.4889, allocations: 12 kB / 1.066 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.4889, allocations: 8 kB / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006386/0.4895, allocations: 222.4 kB / 1.067 GB, free: 9.875 MB / 0.8262 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.004274/0.4938, allocations: 2.494 MB / 1.069 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002028/0.4959, allocations: 499.7 kB / 1.069 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003933/0.4963, allocations: 157.2 kB / 1.07 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.4963, allocations: 4.234 kB / 1.07 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.4964, allocations: 34.8 kB / 1.07 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 2.485e-06/0.4964, allocations: 0 / 1.07 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.003144/0.4995, allocations: 1.202 MB / 1.071 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.4996, allocations: 63.39 kB / 1.071 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/0.5015, allocations: 0.9192 MB / 1.072 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.085e-05/0.5016, allocations: 41.7 kB / 1.072 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.00044/0.502, allocations: 368.8 kB / 1.072 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.5022, allocations: 110.3 kB / 1.072 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004018/0.5026, allocations: 162.7 kB / 1.072 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002741/0.5029, allocations: 398.7 kB / 1.073 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006701/0.5036, allocations: 221.8 kB / 1.073 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.5047, allocations: 0.6232 MB / 1.074 GB, free: 2.09 MB / 0.8262 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.004879/0.5096, allocations: 1.766 MB / 1.075 GB, free: 96 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.329e-05/0.5096, allocations: 7.938 kB / 1.075 GB, free: 88 kB / 0.8262 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002386/0.512, allocations: 0.9037 MB / 1.076 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.512, allocations: 15.94 kB / 1.076 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/0.5121, allocations: 16 kB / 1.076 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002522/0.5123, allocations: 52.77 kB / 1.076 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.5135, allocations: 199.7 kB / 1.077 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.5152, allocations: 1.464 MB / 1.078 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.5165, allocations: 51.97 kB / 1.078 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.353e-05/0.5166, allocations: 36 kB / 1.078 GB, free: 13.2 MB / 0.8419 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: 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.0005711/0.5172, allocations: 305.3 kB / 1.078 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/0.5174, allocations: 90.88 kB / 1.078 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.5176, allocations: 76.53 kB / 1.078 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.5176, allocations: 4 kB / 1.079 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.5177, allocations: 0 / 1.079 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.5177, allocations: 3.984 kB / 1.079 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00261/0.5203, allocations: 1.132 MB / 1.08 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.5203, allocations: 0 / 1.08 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006459/0.521, allocations: 87.88 kB / 1.08 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001646/0.5211, allocations: 32.83 kB / 1.08 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.394e-05/0.5212, allocations: 12.12 kB / 1.08 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001546/0.5228, allocations: 1.437 MB / 1.081 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.5228, allocations: 4.031 kB / 1.081 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.5243, allocations: 0.6508 MB / 1.082 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004882/0.5248, allocations: 204 kB / 1.082 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.525, allocations: 8 kB / 1.082 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007417/0.5257, allocations: 23.91 kB / 1.082 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.094e-05/0.5258, allocations: 27.97 kB / 1.082 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.5259, allocations: 4.125 kB / 1.082 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001404/0.5273, allocations: 0.62 MB / 1.083 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.71e-07/0.5273, allocations: 0 / 1.083 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001367/0.5287, allocations: 211.9 kB / 1.083 GB, free: 8.012 MB / 0.8419 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.001911/0.5306, allocations: 1.204 MB / 1.084 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001898/0.5325, allocations: 0.6786 MB / 1.085 GB, free: 6.078 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5326, allocations: 0 / 1.085 GB, free: 6.078 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005803/0.5331, allocations: 270.4 kB / 1.085 GB, free: 5.801 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.5346, allocations: 177.7 kB / 1.085 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01762/0.5523, allocations: 7.925 MB / 1.093 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008526/0.5532, allocations: 0.9838 MB / 1.094 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0007689/0.554, allocations: 153.8 kB / 1.094 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005855/0.5546, allocations: 291.3 kB / 1.094 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of SimCode: time 7.61e-07/0.5546, allocations: 0 / 1.094 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.177/1.731, allocations: 15.74 MB / 1.11 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007662/1.732, allocations: 226.2 kB / 1.11 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.683/6.415, allocations: 0 / 1.11 GB, free: 11.95 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1)