Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_9_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.001048/0.001048, 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.001226/0.001226, allocations: 196.6 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.35/1.35, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.274/2.274, allocations: 390.2 MB / 0.6643 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 67.89 kB / 0.812 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.538/0.5393, allocations: 140.4 MB / 0.949 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.003775/0.5432, allocations: 3.736 MB / 0.9527 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003099/0.5463, allocations: 2.546 MB / 0.9552 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002479/0.5466, allocations: 12.59 kB / 0.9552 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005806/0.5471, allocations: 222.8 kB / 0.9554 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000658/0.5478, allocations: 464.3 kB / 0.9558 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008482/0.5487, allocations: 468.2 kB / 0.9563 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001106/0.5498, allocations: 1.611 MB / 0.9579 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.55, allocations: 131.9 kB / 0.958 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003963/0.5504, allocations: 395.7 kB / 0.9584 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005041/0.5509, allocations: 0.4914 MB / 0.9589 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.865e-05/0.551, allocations: 34.59 kB / 0.9589 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.5512, allocations: 35.38 kB / 0.9589 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002756/0.5514, allocations: 332.8 kB / 0.9592 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003412/0.5518, allocations: 424.7 kB / 0.9596 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005681/0.5524, allocations: 0.8773 MB / 0.9605 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.5524, allocations: 4 kB / 0.9605 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5524, allocations: 0 / 0.9605 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.5524, allocations: 5.094 kB / 0.9605 GB, free: 0.7734 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001867/0.5543, allocations: 1.243 MB / 0.9617 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.5543, allocations: 19.31 kB / 0.9617 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.471e-05/0.5544, allocations: 68.72 kB / 0.9618 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.5545, allocations: 101.9 kB / 0.9619 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008823/0.5554, allocations: 0.6386 MB / 0.9625 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.5555, allocations: 37.44 kB / 0.9626 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.698e-05/0.5555, allocations: 64.88 kB / 0.9626 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005687/0.5561, allocations: 399.3 kB / 0.963 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.5561, allocations: 1.062 kB / 0.963 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/0.5562, allocations: 15.34 kB / 0.963 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.5562, allocations: 8.344 kB / 0.963 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003874/0.5566, allocations: 228.2 kB / 0.9632 GB, free: 14.75 MB / 0.7325 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.002661/0.5592, allocations: 2.495 MB / 0.9657 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.5605, allocations: 493.3 kB / 0.9662 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.5608, allocations: 157.6 kB / 0.9663 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.5608, allocations: 2.516 kB / 0.9663 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.5608, allocations: 32.52 kB / 0.9663 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 1.432e-06/0.5608, allocations: 0.8438 kB / 0.9663 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.001887/0.5627, allocations: 1.213 MB / 0.9675 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.5628, allocations: 58.53 kB / 0.9676 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.5639, allocations: 0.9206 MB / 0.9685 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/0.5639, allocations: 40.58 kB / 0.9685 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.5642, allocations: 366.8 kB / 0.9689 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.279e-05/0.5643, allocations: 113.2 kB / 0.969 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.5645, allocations: 167.8 kB / 0.9691 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5646, allocations: 395.3 kB / 0.9695 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000355/0.565, allocations: 228.2 kB / 0.9697 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005758/0.5656, allocations: 0.623 MB / 0.9703 GB, free: 9.055 MB / 0.7325 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.002856/0.5684, allocations: 1.764 MB / 0.9721 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.5685, allocations: 11.8 kB / 0.9721 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001299/0.5698, allocations: 0.8933 MB / 0.9729 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.5698, allocations: 11.5 kB / 0.973 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.5698, allocations: 17.88 kB / 0.973 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001565/0.57, allocations: 49.33 kB / 0.973 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000653/0.5706, allocations: 205.5 kB / 0.9732 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009511/0.5716, allocations: 1.366 MB / 0.9745 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007006/0.5723, allocations: 49.44 kB / 0.9746 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.824e-05/0.5724, allocations: 39.03 kB / 0.9746 GB, free: 5.773 MB / 0.7325 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.0003335/0.5727, allocations: 303.9 kB / 0.9749 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.5728, allocations: 82.7 kB / 0.975 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.5729, allocations: 75.12 kB / 0.9751 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.573, allocations: 6.984 kB / 0.9751 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.573, allocations: 3.938 kB / 0.9751 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.573, allocations: 1.438 kB / 0.9751 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.5746, allocations: 1.141 MB / 0.9762 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5746, allocations: 1.281 kB / 0.9762 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/0.575, allocations: 85.56 kB / 0.9763 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001055/0.5751, allocations: 37.3 kB / 0.9763 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.5752, allocations: 15.94 kB / 0.9763 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008999/0.5761, allocations: 1.326 MB / 0.9776 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.5761, allocations: 1.531 kB / 0.9776 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008413/0.5769, allocations: 0.6567 MB / 0.9783 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/0.5772, allocations: 197 kB / 0.9785 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.623e-05/0.5773, allocations: 12.58 kB / 0.9785 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/0.5777, allocations: 22.05 kB / 0.9785 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.5778, allocations: 30.31 kB / 0.9785 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.5778, allocations: 10.78 kB / 0.9785 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007998/0.5786, allocations: 0.621 MB / 0.9791 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5786, allocations: 0 / 0.9791 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007403/0.5794, allocations: 208 kB / 0.9793 GB, free: 1.766 MB / 0.7325 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.001053/0.5804, allocations: 1.212 MB / 0.9805 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.5814, allocations: 0.6414 MB / 0.9811 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5815, allocations: 0 / 0.9811 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003331/0.5818, allocations: 269.5 kB / 0.9814 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008313/0.5826, allocations: 163.2 kB / 0.9816 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009008/0.5917, allocations: 7.929 MB / 0.9893 GB, free: 6.922 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004743/0.5921, allocations: 0.9877 MB / 0.9903 GB, free: 5.906 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003845/0.5925, allocations: 153.8 kB / 0.9904 GB, free: 5.754 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003229/0.5929, allocations: 287.3 kB / 0.9907 GB, free: 5.473 MB / 0.7481 GB Notification: Performance of SimCode: time 3.1e-07/0.5929, allocations: 0 / 0.9907 GB, free: 5.473 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.28/3.873, allocations: 15.32 MB / 1.006 GB, free: 6.391 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003039/3.873, allocations: 217.9 kB / 1.006 GB, free: 6.141 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.212/6.085, allocations: 4.062 kB / 1.006 GB, free: 6.137 MB / 0.7637 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1)