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.001475/0.001475, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001712/0.001712, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.319/1.319, allocations: 222.9 MB / 239.8 MB, free: 4.578 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.368/2.368, allocations: 437 MB / 0.71 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 59.91 kB / 0.8686 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5301/0.5314, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005027/0.5365, allocations: 3.748 MB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004259/0.5408, allocations: 2.537 MB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005503/0.5414, allocations: 15.88 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008508/0.5423, allocations: 226.8 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001167/0.5435, allocations: 466 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.5447, allocations: 467.1 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001756/0.5464, allocations: 1.617 MB / 1.026 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.5467, allocations: 129.3 kB / 1.026 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006879/0.5474, allocations: 390.4 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007909/0.5482, allocations: 0.4982 MB / 1.027 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.5484, allocations: 32 kB / 1.027 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002202/0.5486, allocations: 36 kB / 1.027 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003803/0.549, allocations: 315 kB / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005799/0.5496, allocations: 437.6 kB / 1.027 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007634/0.5503, allocations: 0.8834 MB / 1.028 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.5504, allocations: 0 / 1.028 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.51e-07/0.5504, allocations: 0 / 1.028 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.656e-05/0.5504, allocations: 0 / 1.028 GB, free: 6.961 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.002289/0.5527, allocations: 1.241 MB / 1.029 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.5527, allocations: 12.03 kB / 1.029 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.35e-05/0.5528, allocations: 74.72 kB / 1.029 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/0.553, allocations: 99.72 kB / 1.03 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.5541, allocations: 0.648 MB / 1.03 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/0.5541, allocations: 45.03 kB / 1.03 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.973e-05/0.5542, allocations: 56.12 kB / 1.03 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006235/0.5548, allocations: 398.9 kB / 1.031 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.5549, allocations: 7.938 kB / 1.031 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/0.5549, allocations: 16 kB / 1.031 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.5549, allocations: 8 kB / 1.031 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004126/0.5553, allocations: 226.4 kB / 1.031 GB, free: 4.012 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.002797/0.5581, allocations: 2.498 MB / 1.033 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.5594, allocations: 496.7 kB / 1.034 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.5596, allocations: 153.2 kB / 1.034 GB, free: 0.6719 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.5597, allocations: 240 / 1.034 GB, free: 0.6719 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.5597, allocations: 42.8 kB / 1.034 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.302e-06/0.5597, allocations: 0 / 1.034 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.001904/0.5616, allocations: 1.195 MB / 1.035 GB, free: 15.35 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.5617, allocations: 59.34 kB / 1.035 GB, free: 15.28 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.5627, allocations: 0.9231 MB / 1.036 GB, free: 14.35 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.5628, allocations: 41.7 kB / 1.036 GB, free: 14.3 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002756/0.5631, allocations: 364.7 kB / 1.037 GB, free: 13.94 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.989e-05/0.5632, allocations: 118.3 kB / 1.037 GB, free: 13.82 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.5634, allocations: 162.7 kB / 1.037 GB, free: 13.66 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.5635, allocations: 398.7 kB / 1.037 GB, free: 13.26 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003531/0.5639, allocations: 225.8 kB / 1.037 GB, free: 13.04 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005849/0.5645, allocations: 0.6154 MB / 1.038 GB, free: 12.23 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.00278/0.5673, allocations: 1.774 MB / 1.04 GB, free: 10.23 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.956e-06/0.5673, allocations: 7.938 kB / 1.04 GB, free: 10.22 MB / 0.795 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001239/0.5685, allocations: 0.8956 MB / 1.041 GB, free: 9.316 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.5686, allocations: 12 kB / 1.041 GB, free: 9.305 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.5686, allocations: 12 kB / 1.041 GB, free: 9.293 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000152/0.5687, allocations: 53.33 kB / 1.041 GB, free: 9.238 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006254/0.5694, allocations: 211.6 kB / 1.041 GB, free: 9.031 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009395/0.5703, allocations: 1.369 MB / 1.042 GB, free: 7.527 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005887/0.5709, allocations: 47.91 kB / 1.042 GB, free: 7.48 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.414e-05/0.571, allocations: 44 kB / 1.042 GB, free: 7.438 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 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.0002983/0.5713, allocations: 297.5 kB / 1.043 GB, free: 7.137 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.724e-05/0.5714, allocations: 78.97 kB / 1.043 GB, free: 7.059 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.15e-05/0.5715, allocations: 80.52 kB / 1.043 GB, free: 6.98 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.5715, allocations: 4 kB / 1.043 GB, free: 6.977 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.5715, allocations: 11.88 kB / 1.043 GB, free: 6.965 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5715, allocations: 0 / 1.043 GB, free: 6.965 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.5729, allocations: 1.14 MB / 1.044 GB, free: 5.754 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.5729, allocations: 0 / 1.044 GB, free: 5.754 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/0.5733, allocations: 95.75 kB / 1.044 GB, free: 5.66 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.374e-05/0.5734, allocations: 28.84 kB / 1.044 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.5734, allocations: 16.11 kB / 1.044 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008361/0.5743, allocations: 1.315 MB / 1.045 GB, free: 4.164 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5743, allocations: 8.188 kB / 1.045 GB, free: 4.156 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007861/0.5751, allocations: 0.6635 MB / 1.046 GB, free: 3.461 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.5753, allocations: 200.1 kB / 1.046 GB, free: 3.246 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.02e-05/0.5754, allocations: 8 kB / 1.046 GB, free: 3.238 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/0.5758, allocations: 23.91 kB / 1.046 GB, free: 3.215 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.5758, allocations: 23.97 kB / 1.046 GB, free: 3.191 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.5758, allocations: 4 kB / 1.046 GB, free: 3.188 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000696/0.5765, allocations: 0.62 MB / 1.047 GB, free: 2.57 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5766, allocations: 8 kB / 1.047 GB, free: 2.562 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006255/0.5772, allocations: 204 kB / 1.047 GB, free: 2.363 MB / 0.795 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.001029/0.5782, allocations: 1.221 MB / 1.048 GB, free: 1.102 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009298/0.5792, allocations: 0.6345 MB / 1.049 GB, free: 468 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5792, allocations: 4 kB / 1.049 GB, free: 464 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003189/0.5795, allocations: 273.7 kB / 1.049 GB, free: 180 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007726/0.5803, allocations: 159.4 kB / 1.049 GB, free: 20 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009015/0.5893, allocations: 7.921 MB / 1.057 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005167/0.5899, allocations: 0.9838 MB / 1.058 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004043/0.5903, allocations: 153.8 kB / 1.058 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003444/0.5906, allocations: 291.3 kB / 1.058 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of SimCode: time 5.61e-07/0.5906, allocations: 0 / 1.058 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8466/1.437, allocations: 15.31 MB / 1.073 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/1.437, allocations: 233.8 kB / 1.074 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/3.815, allocations: 0 / 1.074 GB, free: 6.742 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)