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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00122/0.00122, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 196.2 kB / 16.53 MB, free: 6.699 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.271/1.271, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.135/2.135, allocations: 390.3 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 71.88 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5239/0.5251, allocations: 140.4 MB / 0.9497 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.003675/0.5288, allocations: 3.716 MB / 0.9533 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002972/0.5318, allocations: 2.505 MB / 0.9558 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002392/0.5321, allocations: 17.41 kB / 0.9558 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000571/0.5327, allocations: 242.3 kB / 0.956 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006917/0.5334, allocations: 0.4945 MB / 0.9565 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009412/0.5343, allocations: 0.533 MB / 0.957 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009474/0.5353, allocations: 1.361 MB / 0.9584 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.5355, allocations: 155.7 kB / 0.9585 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004196/0.5359, allocations: 432.6 kB / 0.9589 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004943/0.5364, allocations: 0.4884 MB / 0.9594 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.661e-05/0.5365, allocations: 54.06 kB / 0.9595 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.5367, allocations: 57.38 kB / 0.9595 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002646/0.5369, allocations: 351.7 kB / 0.9598 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003296/0.5373, allocations: 452.2 kB / 0.9603 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005939/0.5379, allocations: 0.8971 MB / 0.9612 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.5379, allocations: 0 / 0.9612 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5379, allocations: 0 / 0.9612 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.5379, allocations: 1.094 kB / 0.9612 GB, free: 0.6875 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.001825/0.5397, allocations: 1.244 MB / 0.9624 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.5398, allocations: 13.75 kB / 0.9624 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.295e-05/0.5399, allocations: 73.09 kB / 0.9624 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.54, allocations: 102.8 kB / 0.9625 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008395/0.5409, allocations: 0.6451 MB / 0.9632 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.5409, allocations: 38 kB / 0.9632 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.741e-05/0.541, allocations: 65.47 kB / 0.9633 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005386/0.5415, allocations: 403.7 kB / 0.9637 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.5415, allocations: 0 / 0.9637 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/0.5416, allocations: 12.47 kB / 0.9637 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.986e-06/0.5416, allocations: 7.406 kB / 0.9637 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003686/0.542, allocations: 224.4 kB / 0.9639 GB, free: 14.66 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.002605/0.5446, allocations: 2.509 MB / 0.9663 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.5458, allocations: 484.4 kB / 0.9668 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.546, allocations: 156.9 kB / 0.967 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.5461, allocations: 3.484 kB / 0.967 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.5461, allocations: 41.05 kB / 0.967 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 1.323e-06/0.5461, allocations: 0 / 0.967 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.001863/0.548, allocations: 1.207 MB / 0.9682 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.548, allocations: 58.16 kB / 0.9682 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.5491, allocations: 0.9284 MB / 0.9691 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.5491, allocations: 40.05 kB / 0.9692 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/0.5494, allocations: 363.8 kB / 0.9695 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.04e-05/0.5495, allocations: 108.8 kB / 0.9696 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.5496, allocations: 166.4 kB / 0.9698 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.5498, allocations: 397 kB / 0.9702 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/0.5501, allocations: 227.5 kB / 0.9704 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005564/0.5507, allocations: 0.6272 MB / 0.971 GB, free: 8.945 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.00267/0.5534, allocations: 1.759 MB / 0.9727 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/0.5534, allocations: 7.75 kB / 0.9727 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001268/0.5547, allocations: 0.9056 MB / 0.9736 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.5547, allocations: 11.25 kB / 0.9736 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.5547, allocations: 13.22 kB / 0.9736 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001559/0.5549, allocations: 50.3 kB / 0.9737 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006297/0.5555, allocations: 205.2 kB / 0.9739 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009812/0.5565, allocations: 1.468 MB / 0.9753 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006934/0.5572, allocations: 42.31 kB / 0.9753 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.5573, allocations: 38.47 kB / 0.9754 GB, free: 5.57 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.0003219/0.5576, allocations: 300.4 kB / 0.9757 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.5577, allocations: 82.44 kB / 0.9757 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.5579, allocations: 82.3 kB / 0.9758 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.5579, allocations: 3 kB / 0.9758 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5579, allocations: 5.281 kB / 0.9758 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.5579, allocations: 0 / 0.9758 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.5594, allocations: 1.142 MB / 0.9769 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.5594, allocations: 1.594 kB / 0.977 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/0.5597, allocations: 86.59 kB / 0.977 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.645e-05/0.5599, allocations: 27.5 kB / 0.9771 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.5599, allocations: 17.14 kB / 0.9771 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008665/0.5608, allocations: 1.435 MB / 0.9785 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.5608, allocations: 5.094 kB / 0.9785 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008325/0.5616, allocations: 0.6594 MB / 0.9791 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002236/0.5619, allocations: 196.1 kB / 0.9793 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.038e-05/0.5619, allocations: 8 kB / 0.9793 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/0.5624, allocations: 15.98 kB / 0.9793 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.5624, allocations: 27.91 kB / 0.9794 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.5624, allocations: 8 kB / 0.9794 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007315/0.5632, allocations: 0.6239 MB / 0.98 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5632, allocations: 0 / 0.98 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007049/0.5639, allocations: 211.9 kB / 0.9802 GB, free: 1.258 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.001063/0.565, allocations: 1.204 MB / 0.9814 GB, free: 8 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001122/0.5661, allocations: 0.6814 MB / 0.982 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5661, allocations: 0 / 0.982 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000333/0.5665, allocations: 267.4 kB / 0.9823 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008012/0.5673, allocations: 177.8 kB / 0.9824 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008449/0.5757, allocations: 7.731 MB / 0.99 GB, free: 6.562 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005045/0.5763, allocations: 0.9875 MB / 0.991 GB, free: 5.547 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004178/0.5767, allocations: 153.8 kB / 0.9911 GB, free: 5.395 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003227/0.577, allocations: 287.3 kB / 0.9914 GB, free: 5.113 MB / 0.7481 GB Notification: Performance of SimCode: time 5.41e-07/0.577, allocations: 0 / 0.9914 GB, free: 5.113 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.045/3.622, allocations: 15.87 MB / 1.007 GB, free: 5.469 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.33/19.96, allocations: 9.609 kB / 1.007 GB, free: 5.461 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)