Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",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.0008517/0.0008518, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.005494/0.005494, allocations: 172 kB / 16.26 MB, free: 6.613 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.259/1.259, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.098/2.098, allocations: 390.9 MB / 0.6664 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003012/0.0003011, allocations: 8 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5456/0.5459, allocations: 142.4 MB / 0.9552 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.002355/0.5483, allocations: 2.415 MB / 0.9575 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003122/0.5514, allocations: 2.757 MB / 0.9602 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002878/0.5518, allocations: 4.125 kB / 0.9602 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.5529, allocations: 469.2 kB / 0.9607 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005373/0.5534, allocations: 236.5 kB / 0.9609 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007662/0.5542, allocations: 335.8 kB / 0.9612 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001767/0.556, allocations: 1.721 MB / 0.9629 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.5562, allocations: 130.1 kB / 0.963 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006532/0.5568, allocations: 407.1 kB / 0.9634 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005584/0.5574, allocations: 388.5 kB / 0.9638 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.799e-05/0.5575, allocations: 21.12 kB / 0.9638 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.483e-05/0.5576, allocations: 22.69 kB / 0.9638 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.5578, allocations: 226.4 kB / 0.964 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002823/0.5581, allocations: 354.8 kB / 0.9644 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000558/0.5586, allocations: 0.8716 MB / 0.9652 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.5586, allocations: 1.344 kB / 0.9652 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.92e-07/0.5586, allocations: 0 / 0.9652 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.5586, allocations: 0 / 0.9652 GB, free: 0.6367 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.001529/0.5602, allocations: 1.029 MB / 0.9662 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.5602, allocations: 13.88 kB / 0.9662 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.173e-05/0.5603, allocations: 59.88 kB / 0.9663 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.5604, allocations: 77.78 kB / 0.9664 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008593/0.5613, allocations: 0.6534 MB / 0.967 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.5613, allocations: 27.34 kB / 0.967 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-05/0.5614, allocations: 39.41 kB / 0.9671 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000539/0.5619, allocations: 377.3 kB / 0.9674 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.5619, allocations: 3.938 kB / 0.9674 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.562, allocations: 14.62 kB / 0.9674 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.562, allocations: 5.562 kB / 0.9674 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003723/0.5624, allocations: 235.7 kB / 0.9677 GB, free: 14.86 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.003206/0.5656, allocations: 2.473 MB / 0.9701 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008942/0.5665, allocations: 410.4 kB / 0.9705 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.5667, allocations: 139.8 kB / 0.9706 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.5667, allocations: 1.625 kB / 0.9706 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.5667, allocations: 36.03 kB / 0.9706 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.162e-06/0.5667, allocations: 0 / 0.9706 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.000851/0.5676, allocations: 0.5369 MB / 0.9712 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.5676, allocations: 61.38 kB / 0.9712 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.5688, allocations: 0.9418 MB / 0.9722 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.5688, allocations: 35.73 kB / 0.9722 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.5691, allocations: 300.9 kB / 0.9725 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.357e-05/0.5692, allocations: 68.22 kB / 0.9725 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-05/0.5692, allocations: 64.88 kB / 0.9726 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.5694, allocations: 384.6 kB / 0.973 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/0.5697, allocations: 242.8 kB / 0.9732 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004764/0.5702, allocations: 0.5052 MB / 0.9737 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007423/0.571, allocations: 0.6977 MB / 0.9744 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.571, allocations: 3.25 kB / 0.9744 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001117/0.5721, allocations: 0.8196 MB / 0.9752 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.5721, allocations: 8.688 kB / 0.9752 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.5722, allocations: 8.562 kB / 0.9752 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001711/0.5723, allocations: 60.75 kB / 0.9753 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004264/0.5728, allocations: 136.2 kB / 0.9754 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.5738, allocations: 1.439 MB / 0.9768 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006477/0.5745, allocations: 132.1 kB / 0.9769 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.5745, allocations: 27.94 kB / 0.9769 GB, free: 7.59 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.0003081/0.5748, allocations: 332.3 kB / 0.9773 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.018e-05/0.5749, allocations: 62.84 kB / 0.9773 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.5751, allocations: 74.97 kB / 0.9774 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.5751, allocations: 7 kB / 0.9774 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5751, allocations: 4 kB / 0.9774 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.5751, allocations: 0 / 0.9774 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006058/0.5757, allocations: 0.5793 MB / 0.978 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5757, allocations: 3.938 kB / 0.978 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.5759, allocations: 47.73 kB / 0.978 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001097/0.576, allocations: 44.3 kB / 0.9781 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.5761, allocations: 11.91 kB / 0.9781 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009492/0.577, allocations: 1.417 MB / 0.9795 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5771, allocations: 1.438 kB / 0.9795 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006937/0.5777, allocations: 0.5728 MB / 0.98 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002239/0.578, allocations: 212.3 kB / 0.9802 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.808e-05/0.5781, allocations: 4 kB / 0.9802 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/0.5785, allocations: 47.92 kB / 0.9803 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.5785, allocations: 7.984 kB / 0.9803 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.5785, allocations: 11.98 kB / 0.9803 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007462/0.5793, allocations: 0.6551 MB / 0.9809 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5793, allocations: 0 / 0.9809 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005763/0.5799, allocations: 183.8 kB / 0.9811 GB, free: 3.707 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.0009352/0.5808, allocations: 1.141 MB / 0.9822 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007776/0.5816, allocations: 0.5737 MB / 0.9828 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5816, allocations: 0 / 0.9828 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002907/0.5819, allocations: 251.8 kB / 0.983 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007844/0.5827, allocations: 169.9 kB / 0.9832 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008976/0.5917, allocations: 7.291 MB / 0.9903 GB, free: 9.902 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005388/0.5922, allocations: 1.014 MB / 0.9913 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003808/0.5926, allocations: 184.5 kB / 0.9915 GB, free: 8.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000282/0.5929, allocations: 203.4 kB / 0.9917 GB, free: 8.48 MB / 0.7481 GB Notification: Performance of SimCode: time 4e-07/0.5929, allocations: 0 / 0.9917 GB, free: 8.48 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7447/1.338, allocations: 13.39 MB / 1.005 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002389/1.338, allocations: 223.2 kB / 1.005 GB, free: 11.1 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.609/3.947, allocations: 2.109 kB / 1.005 GB, free: 11.1 MB / 0.7637 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1)