Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.ConductorMultiLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer",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.001067/0.001067, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009942/0.0009942, allocations: 190.1 kB / 16.25 MB, free: 6.633 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.278/1.278, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.114/2.114, allocations: 390.3 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 59.91 kB / 0.8121 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5278/0.5291, allocations: 140.4 MB / 0.9492 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003085/0.5322, allocations: 2.777 MB / 0.9519 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002959/0.5352, allocations: 2.757 MB / 0.9546 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002855/0.5355, allocations: 4.25 kB / 0.9546 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.5366, allocations: 474.5 kB / 0.9551 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004848/0.5372, allocations: 241.3 kB / 0.9553 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008208/0.538, allocations: 359.2 kB / 0.9557 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001403/0.5394, allocations: 1.553 MB / 0.9572 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.5396, allocations: 151.1 kB / 0.9573 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006867/0.5403, allocations: 492.2 kB / 0.9578 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005886/0.5409, allocations: 435.4 kB / 0.9582 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.541, allocations: 47.44 kB / 0.9582 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.5412, allocations: 57.66 kB / 0.9583 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002045/0.5414, allocations: 262.2 kB / 0.9586 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004151/0.5418, allocations: 372.2 kB / 0.9589 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006576/0.5425, allocations: 0.8992 MB / 0.9598 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.5425, allocations: 0 / 0.9598 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5425, allocations: 5.062 kB / 0.9598 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.991e-05/0.5425, allocations: 0 / 0.9598 GB, free: 1.723 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001915/0.5444, allocations: 1.151 MB / 0.9609 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.5445, allocations: 9.156 kB / 0.9609 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.26e-05/0.5445, allocations: 59.94 kB / 0.961 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.5447, allocations: 79.16 kB / 0.9611 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008003/0.5455, allocations: 0.6455 MB / 0.9617 GB, free: 268 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.5455, allocations: 30.81 kB / 0.9617 GB, free: 252 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.595e-05/0.5456, allocations: 46.81 kB / 0.9618 GB, free: 232 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005086/0.5461, allocations: 375.5 kB / 0.9621 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.5461, allocations: 1.062 kB / 0.9621 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.5461, allocations: 6.219 kB / 0.9621 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.5462, allocations: 10.16 kB / 0.9621 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003691/0.5465, allocations: 239 kB / 0.9624 GB, free: 15.85 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.003387/0.5499, allocations: 2.452 MB / 0.9648 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009202/0.5509, allocations: 405.2 kB / 0.9651 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.5511, allocations: 145.3 kB / 0.9653 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.5511, allocations: 2.188 kB / 0.9653 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.5511, allocations: 32.84 kB / 0.9653 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.262e-06/0.5511, allocations: 0 / 0.9653 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0008943/0.552, allocations: 0.5331 MB / 0.9658 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.5521, allocations: 58.03 kB / 0.9659 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.5532, allocations: 0.938 MB / 0.9668 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.5533, allocations: 35.89 kB / 0.9668 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.5535, allocations: 299.8 kB / 0.9671 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.14e-05/0.5536, allocations: 68.59 kB / 0.9672 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.5537, allocations: 122.9 kB / 0.9673 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.5539, allocations: 380.3 kB / 0.9677 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/0.5542, allocations: 244.4 kB / 0.9679 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004621/0.5547, allocations: 0.4998 MB / 0.9684 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007427/0.5555, allocations: 0.6937 MB / 0.9691 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.5555, allocations: 6.812 kB / 0.9691 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001152/0.5566, allocations: 0.813 MB / 0.9699 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.5567, allocations: 8.5 kB / 0.9699 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.5567, allocations: 12.97 kB / 0.9699 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/0.5568, allocations: 56.22 kB / 0.9699 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004249/0.5573, allocations: 146.8 kB / 0.9701 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.5584, allocations: 1.536 MB / 0.9716 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00067/0.5591, allocations: 128.2 kB / 0.9717 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/0.5591, allocations: 27.06 kB / 0.9717 GB, free: 8.469 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * 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.000321/0.5595, allocations: 344.7 kB / 0.9721 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.882e-05/0.5596, allocations: 66.69 kB / 0.9721 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.5597, allocations: 66.25 kB / 0.9722 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.5597, allocations: 2.781 kB / 0.9722 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5597, allocations: 0 / 0.9722 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.5597, allocations: 1.062 kB / 0.9722 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006266/0.5603, allocations: 0.5755 MB / 0.9728 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.5603, allocations: 7.938 kB / 0.9728 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.5606, allocations: 50.7 kB / 0.9728 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001083/0.5607, allocations: 43.77 kB / 0.9729 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.5607, allocations: 7.984 kB / 0.9729 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.5618, allocations: 1.529 MB / 0.9744 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5618, allocations: 0 / 0.9744 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007104/0.5625, allocations: 0.5712 MB / 0.9749 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002679/0.5628, allocations: 200.5 kB / 0.9751 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.667e-05/0.5629, allocations: 7 kB / 0.9751 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003792/0.5632, allocations: 55.23 kB / 0.9752 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.5633, allocations: 9.297 kB / 0.9752 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.5633, allocations: 4.312 kB / 0.9752 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007829/0.5641, allocations: 0.6633 MB / 0.9758 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5641, allocations: 4 kB / 0.9758 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006034/0.5647, allocations: 179.4 kB / 0.976 GB, free: 5.125 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * 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.0009515/0.5657, allocations: 1.121 MB / 0.9771 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008303/0.5665, allocations: 0.6026 MB / 0.9777 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.5665, allocations: 4 kB / 0.9777 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002948/0.5668, allocations: 250.5 kB / 0.9779 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007495/0.5676, allocations: 168.7 kB / 0.9781 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009096/0.5767, allocations: 7.167 MB / 0.9851 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005442/0.5772, allocations: 1.01 MB / 0.9861 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003843/0.5776, allocations: 188.5 kB / 0.9862 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.5779, allocations: 207.4 kB / 0.9864 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of SimCode: time 3.2e-07/0.5779, allocations: 0 / 0.9864 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.462/2.04, allocations: 13.92 MB / 1 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002856/2.04, allocations: 218.8 kB / 1 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.997/4.038, allocations: 3.938 kB / 1 GB, free: 12.5 MB / 0.7637 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1)