Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorMultiLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorMultiLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5681/0.5681, allocations: 95.62 MB / 110.6 MB, free: 9.371 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001108/0.001108, allocations: 164.2 kB / 134.2 MB, free: 2.266 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.491/1.491, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001539/0.001539, allocations: 99.45 kB / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003819, allocations: 8 kB / 462.7 MB, free: 35.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1432, allocations: 61.54 MB / 0.512 GB, free: 6.105 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4547/0.598, allocations: 105.2 MB / 0.6147 GB, free: 2.246 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.5983, allocations: 78.97 kB / 0.6148 GB, free: 2.207 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/HeatTransfer/Conduction/BaseClasses/PartialConstruction.mo:13:38-13:43:writable] Warning: Non-array modification '1' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.09758/0.6959, allocations: 33.82 MB / 0.6478 GB, free: 2.797 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.6959, allocations: 0 / 0.6478 GB, free: 2.797 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.161e-05/0.696, allocations: 16 kB / 0.6478 GB, free: 2.781 MB / 442.7 MB 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.001862/0.6979, allocations: 0.9888 MB / 0.6488 GB, free: 1.742 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.6979, allocations: 11.98 kB / 0.6488 GB, free: 1.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.6981, allocations: 75.48 kB / 0.6489 GB, free: 1.656 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.6994, allocations: 0.7096 MB / 0.6496 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.6994, allocations: 28.5 kB / 0.6496 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-05/0.6995, allocations: 40 kB / 0.6496 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005482/0.7001, allocations: 320.8 kB / 0.6499 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.7001, allocations: 0 / 0.6499 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.7001, allocations: 15.94 kB / 0.6499 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.7002, allocations: 4 kB / 0.6499 GB, free: 0.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000429/0.7006, allocations: 274 kB / 0.6502 GB, free: 240 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002938/0.7035, allocations: 1.813 MB / 0.652 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.7047, allocations: 483.4 kB / 0.6524 GB, free: 13.84 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.7048, allocations: 15.95 kB / 0.6525 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.7048, allocations: 30.56 kB / 0.6525 GB, free: 13.79 MB / 458.7 MB Notification: Performance of pre-optimization done (n=24): time 1.894e-06/0.7048, allocations: 0 / 0.6525 GB, free: 13.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=24): time 0.001399/0.7062, allocations: 0.7544 MB / 0.6532 GB, free: 12.98 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.7063, allocations: 51.41 kB / 0.6533 GB, free: 12.92 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.7073, allocations: 0.7324 MB / 0.654 GB, free: 12.18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.076e-05/0.7073, allocations: 41.7 kB / 0.654 GB, free: 12.13 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.7076, allocations: 252.8 kB / 0.6543 GB, free: 11.88 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.7077, allocations: 94.59 kB / 0.6544 GB, free: 11.79 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.7078, allocations: 12 kB / 0.6544 GB, free: 11.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.7079, allocations: 374.7 kB / 0.6547 GB, free: 11.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.7083, allocations: 248.9 kB / 0.655 GB, free: 11.16 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005435/0.7089, allocations: 0.4891 MB / 0.6554 GB, free: 10.55 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000443/0.7093, allocations: 328.9 kB / 0.6558 GB, free: 10.23 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.7094, allocations: 4 kB / 0.6558 GB, free: 10.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001297/0.7107, allocations: 0.8461 MB / 0.6566 GB, free: 9.371 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.7107, allocations: 11.95 kB / 0.6566 GB, free: 9.359 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.7107, allocations: 8 kB / 0.6566 GB, free: 9.352 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003351/0.7111, allocations: 89.81 kB / 0.6567 GB, free: 9.258 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005004/0.7116, allocations: 135.8 kB / 0.6568 GB, free: 9.125 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/0.714, allocations: 2.881 MB / 0.6596 GB, free: 5.969 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.7152, allocations: 191.1 kB / 0.6598 GB, free: 5.781 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-05/0.7152, allocations: 28 kB / 0.6598 GB, free: 5.754 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004569/0.7157, allocations: 313.5 kB / 0.6601 GB, free: 5.438 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.7158, allocations: 55.3 kB / 0.6602 GB, free: 5.383 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.7159, allocations: 57.03 kB / 0.6602 GB, free: 5.328 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.7159, allocations: 7.984 kB / 0.6603 GB, free: 5.32 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.7159, allocations: 0 / 0.6603 GB, free: 5.32 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.7159, allocations: 0 / 0.6603 GB, free: 5.32 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008259/0.7168, allocations: 0.7427 MB / 0.661 GB, free: 4.527 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.7168, allocations: 4 kB / 0.661 GB, free: 4.523 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002653/0.717, allocations: 51.95 kB / 0.661 GB, free: 4.473 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/0.7173, allocations: 77.61 kB / 0.6611 GB, free: 4.391 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.7173, allocations: 8 kB / 0.6611 GB, free: 4.383 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002187/0.7195, allocations: 2.857 MB / 0.6639 GB, free: 1.262 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7195, allocations: 0 / 0.6639 GB, free: 1.262 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.7205, allocations: 0.6805 MB / 0.6646 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004601/0.721, allocations: 352.3 kB / 0.6649 GB, free: 176 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.751e-05/0.7211, allocations: 8 kB / 0.6649 GB, free: 168 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006573/0.7218, allocations: 99.81 kB / 0.665 GB, free: 68 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.7218, allocations: 23.91 kB / 0.665 GB, free: 44 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.7219, allocations: 7.953 kB / 0.665 GB, free: 36 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000773/0.7226, allocations: 0.569 MB / 0.6656 GB, free: 15.47 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7227, allocations: 0 / 0.6656 GB, free: 15.47 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001026/0.7237, allocations: 255.8 kB / 0.6658 GB, free: 15.22 MB / 474.7 MB 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003209/0.724, allocations: 173.4 kB / 0.666 GB, free: 15.04 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.7253, allocations: 0.7509 MB / 0.6667 GB, free: 14.26 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7253, allocations: 2 kB / 0.6667 GB, free: 14.26 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005089/0.7258, allocations: 417.1 kB / 0.6671 GB, free: 13.83 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007538/0.7266, allocations: 164.2 kB / 0.6673 GB, free: 13.67 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.7292, allocations: 1.754 MB / 0.669 GB, free: 11.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005887/0.7298, allocations: 0.9869 MB / 0.67 GB, free: 10.88 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004121/0.7302, allocations: 164.2 kB / 0.6701 GB, free: 10.72 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.7303, allocations: 39.38 kB / 0.6702 GB, free: 10.68 MB / 474.7 MB Notification: Performance of SimCode: time 1.493e-06/0.7303, allocations: 4 kB / 0.6702 GB, free: 10.68 MB / 474.7 MB Notification: Performance of Templates: time 0.01691/0.7472, allocations: 9.621 MB / 0.6796 GB, free: 1.121 MB / 474.7 MB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1)