Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.235/2.235, allocations: 248.5 MB / 261.1 MB, free: 6.043 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001455/0.001454, allocations: 174.6 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.971/1.971, allocations: 205.1 MB / 0.571 GB, free: 11.74 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 94.41 kB / 0.6754 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.45e-05/3.468e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2127, allocations: 106.2 MB / 0.8906 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8754/1.088, allocations: 141.1 MB / 1.028 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/1.089, allocations: 77.28 kB / 1.028 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1147/1.203, allocations: 18.48 MB / 1.047 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.864e-06/1.203, allocations: 4 kB / 1.047 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.86e-05/1.203, allocations: 20 kB / 1.047 GB, free: 10.22 MB / 0.6667 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.002526/1.206, allocations: 0.933 MB / 1.047 GB, free: 9.293 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/1.206, allocations: 8.031 kB / 1.047 GB, free: 9.285 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001448/1.206, allocations: 71.03 kB / 1.048 GB, free: 9.227 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005271/1.207, allocations: 102.8 kB / 1.048 GB, free: 9.125 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004258/1.211, allocations: 1.057 MB / 1.049 GB, free: 8.254 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.476e-05/1.211, allocations: 44.09 kB / 1.049 GB, free: 8.227 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/1.211, allocations: 58.41 kB / 1.049 GB, free: 8.188 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009043/1.212, allocations: 392.7 kB / 1.049 GB, free: 7.871 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/1.212, allocations: 3.984 kB / 1.049 GB, free: 7.867 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.629e-05/1.212, allocations: 13.31 kB / 1.049 GB, free: 7.863 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/1.212, allocations: 8 kB / 1.049 GB, free: 7.855 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005659/1.213, allocations: 209.2 kB / 1.049 GB, free: 7.711 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005115/1.218, allocations: 2.298 MB / 1.052 GB, free: 5.59 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002328/1.22, allocations: 481.6 kB / 1.052 GB, free: 5.219 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003863/1.221, allocations: 142.2 kB / 1.052 GB, free: 5.121 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.946e-05/1.221, allocations: 8.219 kB / 1.052 GB, free: 5.113 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/1.221, allocations: 43.17 kB / 1.052 GB, free: 5.066 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=28): time 3.206e-06/1.221, allocations: 0 / 1.052 GB, free: 5.066 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30): time 0.003067/1.224, allocations: 0.98 MB / 1.053 GB, free: 4.184 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/1.224, allocations: 59.36 kB / 1.053 GB, free: 4.113 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/1.226, allocations: 0.7985 MB / 1.054 GB, free: 3.504 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001212/1.226, allocations: 40.33 kB / 1.054 GB, free: 3.469 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000397/1.227, allocations: 369.3 kB / 1.054 GB, free: 3.25 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/1.227, allocations: 113.5 kB / 1.055 GB, free: 3.152 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/1.227, allocations: 13.38 kB / 1.055 GB, free: 3.148 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002598/1.227, allocations: 396 kB / 1.055 GB, free: 2.789 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005852/1.228, allocations: 207.8 kB / 1.055 GB, free: 2.645 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008858/1.229, allocations: 0.6025 MB / 1.056 GB, free: 1.93 MB / 0.6667 GB 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])) 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[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3])) Notification: Performance of analyzeInitialSystem (initialization): time 0.003745/1.232, allocations: 1.021 MB / 1.057 GB, free: 1.039 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.641e-05/1.232, allocations: 4 kB / 1.057 GB, free: 1.035 MB / 0.6667 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002478/1.235, allocations: 0.864 MB / 1.058 GB, free: 324 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/1.235, allocations: 12 kB / 1.058 GB, free: 312 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/1.235, allocations: 12 kB / 1.058 GB, free: 300 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003085/1.235, allocations: 55.97 kB / 1.058 GB, free: 244 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/1.237, allocations: 212.4 kB / 1.058 GB, free: 40 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/1.238, allocations: 1.348 MB / 1.059 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/1.24, allocations: 70.72 kB / 1.059 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.216e-05/1.24, allocations: 42.25 kB / 1.059 GB, free: 14.52 MB / 0.6823 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3]). 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 () * 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 (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.0002677/1.241, allocations: 175.9 kB / 1.059 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/1.241, allocations: 78.97 kB / 1.06 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/1.241, allocations: 87.66 kB / 1.06 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/1.241, allocations: 8 kB / 1.06 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/1.241, allocations: 4 kB / 1.06 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/1.241, allocations: 0 / 1.06 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002714/1.244, allocations: 1.187 MB / 1.061 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/1.244, allocations: 4.031 kB / 1.061 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007929/1.245, allocations: 87.12 kB / 1.061 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002034/1.245, allocations: 35.39 kB / 1.061 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/1.245, allocations: 7.938 kB / 1.061 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/1.246, allocations: 1.326 MB / 1.062 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/1.246, allocations: 3.984 kB / 1.062 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/1.248, allocations: 0.6858 MB / 1.063 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005874/1.249, allocations: 215.3 kB / 1.063 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/1.249, allocations: 10.81 kB / 1.063 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/1.25, allocations: 34.95 kB / 1.063 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.893e-05/1.25, allocations: 23.47 kB / 1.063 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/1.25, allocations: 8 kB / 1.063 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001273/1.251, allocations: 0.5954 MB / 1.064 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.41e-07/1.251, allocations: 0 / 1.064 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001241/1.253, allocations: 211.2 kB / 1.064 GB, free: 10.16 MB / 0.6823 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 () * 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 (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.002067/1.255, allocations: 1.569 MB / 1.065 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0018/1.257, allocations: 0.6217 MB / 1.066 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/1.257, allocations: 0.5 kB / 1.066 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005902/1.257, allocations: 270.4 kB / 1.066 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/1.259, allocations: 165.3 kB / 1.066 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004265/1.263, allocations: 1.45 MB / 1.068 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008159/1.264, allocations: 1.001 MB / 1.069 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008316/1.265, allocations: 157.8 kB / 1.069 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005513/1.265, allocations: 291.5 kB / 1.069 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of SimCode: time 1.482e-06/1.265, allocations: 0 / 1.069 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05877/1.324, allocations: 16.81 MB / 1.086 GB, free: 4.594 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000305/1.324, allocations: 174.2 kB / 1.086 GB, free: 4.371 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.126/4.45, allocations: 0 / 1.086 GB, free: 4.371 MB / 0.698 GB