Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.697/1.697, allocations: 289.9 MB / 297.4 MB, free: 6.402 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000938/0.0009381, allocations: 172.9 kB / 366.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.2 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008672/0.0008674, allocations: 91.16 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.973e-05/1.97e-05, allocations: 7.984 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5787/0.5788, allocations: 116.3 MB / 0.9733 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.187/0.7658, allocations: 150.9 MB / 1.121 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.766, allocations: 80.58 kB / 1.121 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.09452/0.8606, allocations: 27.52 MB / 1.148 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8606, allocations: 0 / 1.148 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.503e-05/0.8607, allocations: 16 kB / 1.148 GB, free: 3.594 MB / 0.7448 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.001182/0.8619, allocations: 0.8293 MB / 1.149 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.8619, allocations: 8.031 kB / 1.149 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.8621, allocations: 79.06 kB / 1.149 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00219/0.8643, allocations: 1.218 MB / 1.15 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.8643, allocations: 12 kB / 1.15 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.257e-05/0.8644, allocations: 27.98 kB / 1.15 GB, free: 1.332 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003372/0.8648, allocations: 205 kB / 1.15 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004732/0.8652, allocations: 325.6 kB / 1.15 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.8653, allocations: 0 / 1.15 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.8653, allocations: 4 kB / 1.15 GB, free: 0.7852 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.8653, allocations: 8 kB / 1.15 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002629/0.8679, allocations: 2.019 MB / 1.152 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009024/0.8689, allocations: 376.4 kB / 1.153 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.869, allocations: 130.1 kB / 1.153 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.8691, allocations: 0 / 1.153 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.8691, allocations: 45.44 kB / 1.153 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.8691, allocations: 0 / 1.153 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.0005851/0.8697, allocations: 317.8 kB / 1.153 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.8698, allocations: 55.41 kB / 1.153 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.8708, allocations: 0.8598 MB / 1.154 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.8709, allocations: 29.7 kB / 1.154 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.8711, allocations: 292.5 kB / 1.154 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.016e-05/0.8712, allocations: 71.02 kB / 1.154 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/0.8712, allocations: 0 / 1.154 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.8714, allocations: 382.7 kB / 1.155 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.8717, allocations: 209 kB / 1.155 GB, free: 11.87 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004437/0.8721, allocations: 484.4 kB / 1.155 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.8725, allocations: 283.6 kB / 1.156 GB, free: 11 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.8725, allocations: 4 kB / 1.156 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009779/0.8735, allocations: 0.7102 MB / 1.156 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.8735, allocations: 8 kB / 1.156 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.8735, allocations: 15.95 kB / 1.156 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001981/0.8737, allocations: 59 kB / 1.156 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004426/0.8742, allocations: 143.7 kB / 1.157 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.8754, allocations: 1.42 MB / 1.158 GB, free: 8.512 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009621/0.8764, allocations: 187.1 kB / 1.158 GB, free: 8.328 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.8764, allocations: 28 kB / 1.158 GB, free: 8.301 MB / 0.7605 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.8765, allocations: 124.7 kB / 1.158 GB, free: 8.172 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004578/0.877, allocations: 318.8 kB / 1.159 GB, free: 7.852 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.983e-05/0.8771, allocations: 67.25 kB / 1.159 GB, free: 7.785 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.8772, allocations: 65.7 kB / 1.159 GB, free: 7.719 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.8773, allocations: 7.984 kB / 1.159 GB, free: 7.711 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.8773, allocations: 0 / 1.159 GB, free: 7.711 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.8773, allocations: 0 / 1.159 GB, free: 7.711 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006984/0.878, allocations: 0.6186 MB / 1.159 GB, free: 7.055 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.878, allocations: 1.5 kB / 1.159 GB, free: 7.055 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.8783, allocations: 59.84 kB / 1.159 GB, free: 6.996 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001276/0.8784, allocations: 44.81 kB / 1.159 GB, free: 6.949 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.8784, allocations: 8 kB / 1.159 GB, free: 6.941 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.8795, allocations: 1.403 MB / 1.161 GB, free: 5.426 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.8795, allocations: 3.938 kB / 1.161 GB, free: 5.422 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006176/0.8802, allocations: 0.5297 MB / 1.161 GB, free: 4.875 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003943/0.8806, allocations: 357 kB / 1.162 GB, free: 4.484 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.998e-05/0.8806, allocations: 11.98 kB / 1.162 GB, free: 4.473 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005362/0.8812, allocations: 83.94 kB / 1.162 GB, free: 4.391 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.8812, allocations: 11.98 kB / 1.162 GB, free: 4.379 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.8813, allocations: 4 kB / 1.162 GB, free: 4.375 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0007476/0.882, allocations: 0.6474 MB / 1.162 GB, free: 3.73 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.3e-07/0.882, allocations: 0 / 1.162 GB, free: 3.73 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006684/0.8827, allocations: 187.8 kB / 1.163 GB, free: 3.547 MB / 0.7605 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001058/0.8838, allocations: 1.149 MB / 1.164 GB, free: 2.375 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007364/0.8845, allocations: 0.5225 MB / 1.164 GB, free: 1.844 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.8845, allocations: 1.969 kB / 1.164 GB, free: 1.844 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002737/0.8848, allocations: 234.2 kB / 1.164 GB, free: 1.605 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006673/0.8855, allocations: 154.8 kB / 1.165 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/0.8879, allocations: 1.416 MB / 1.166 GB, free: 16 kB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/0.8885, allocations: 1.019 MB / 1.167 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004456/0.889, allocations: 184.4 kB / 1.167 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/0.8893, allocations: 203.4 kB / 1.167 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of SimCode: time 4.91e-07/0.8893, allocations: 0 / 1.167 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03375/0.9231, allocations: 13.24 MB / 1.18 GB, free: 1.621 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/0.9233, allocations: 141.9 kB / 1.18 GB, free: 1.426 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.131/3.054, allocations: 0 / 1.18 GB, free: 1.426 MB / 0.7761 GB (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1)