Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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.ConductorSingleLayerPCM,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",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.222/2.222, allocations: 248.7 MB / 256.2 MB, free: 7.023 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.00148/0.00148, allocations: 185.7 kB / 315.4 MB, free: 3.988 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.072/2.072, allocations: 205.3 MB / 0.5662 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 90.45 kB / 0.6704 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.562e-05/2.572e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2677, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9013/1.169, allocations: 141.4 MB / 1.022 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/1.169, allocations: 76.22 kB / 1.022 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1728/1.342, allocations: 28.2 MB / 1.05 GB, free: 5.836 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.205e-06/1.342, allocations: 4 kB / 1.05 GB, free: 5.832 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001285/1.342, allocations: 24 kB / 1.05 GB, free: 5.809 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.00377/1.346, allocations: 1.196 MB / 1.051 GB, free: 4.633 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/1.346, allocations: 12.03 kB / 1.051 GB, free: 4.621 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007305/1.347, allocations: 135.1 kB / 1.051 GB, free: 4.488 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006308/1.353, allocations: 1.534 MB / 1.053 GB, free: 3.25 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.445e-05/1.353, allocations: 16 kB / 1.053 GB, free: 3.234 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/1.354, allocations: 36 kB / 1.053 GB, free: 3.199 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001541/1.355, allocations: 0.5867 MB / 1.053 GB, free: 2.766 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/1.357, allocations: 0.5981 MB / 1.054 GB, free: 2.273 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/1.357, allocations: 0 / 1.054 GB, free: 2.273 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.744e-05/1.357, allocations: 3.984 kB / 1.054 GB, free: 2.27 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/1.357, allocations: 15.94 kB / 1.054 GB, free: 2.254 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007054/1.364, allocations: 2.663 MB / 1.056 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002649/1.366, allocations: 0.8852 MB / 1.057 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000857/1.367, allocations: 371.6 kB / 1.058 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/1.367, allocations: 31.34 kB / 1.058 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/1.368, allocations: 45.88 kB / 1.058 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=45): time 3.797e-06/1.368, allocations: 0 / 1.058 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.002541/1.37, allocations: 0.8476 MB / 1.059 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/1.37, allocations: 55.41 kB / 1.059 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/1.372, allocations: 0.9784 MB / 1.06 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001625/1.372, allocations: 29.64 kB / 1.06 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004928/1.373, allocations: 458.1 kB / 1.06 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/1.373, allocations: 170.5 kB / 1.06 GB, free: 13 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-05/1.373, allocations: 0 / 1.06 GB, free: 13 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001823/1.374, allocations: 346.2 kB / 1.061 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/1.375, allocations: 0.5205 MB / 1.061 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/1.376, allocations: 0.8368 MB / 1.062 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002366/1.379, allocations: 0.7153 MB / 1.063 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-05/1.379, allocations: 4 kB / 1.063 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004848/1.384, allocations: 1.571 MB / 1.064 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.767e-05/1.384, allocations: 15.95 kB / 1.064 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.661e-05/1.384, allocations: 15.94 kB / 1.064 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002534/1.384, allocations: 40.22 kB / 1.064 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00307/1.387, allocations: 359.7 kB / 1.065 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006896/1.394, allocations: 6.893 MB / 1.071 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/1.397, allocations: 134.6 kB / 1.071 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002135/1.397, allocations: 59 kB / 1.071 GB, free: 2.473 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 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.0002799/1.397, allocations: 146.2 kB / 1.072 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002312/1.399, allocations: 0.8333 MB / 1.072 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003079/1.4, allocations: 118.5 kB / 1.073 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002749/1.403, allocations: 0.9666 MB / 1.073 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/1.403, allocations: 7.984 kB / 1.073 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.403, allocations: 4 kB / 1.073 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/1.403, allocations: 3.984 kB / 1.073 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002513/1.405, allocations: 0.8955 MB / 1.074 GB, free: 28 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/1.405, allocations: 0 / 1.074 GB, free: 28 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/1.407, allocations: 123.8 kB / 1.074 GB, free: 15.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002301/1.407, allocations: 24.16 kB / 1.075 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001587/1.407, allocations: 22.98 kB / 1.075 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/1.409, allocations: 1.301 MB / 1.076 GB, free: 14.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.409, allocations: 8.188 kB / 1.076 GB, free: 14.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003754/1.412, allocations: 1.47 MB / 1.077 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/1.414, allocations: 365.4 kB / 1.078 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003712/1.414, allocations: 10.98 kB / 1.078 GB, free: 12.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001706/1.416, allocations: 47.78 kB / 1.078 GB, free: 12.94 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/1.416, allocations: 35.89 kB / 1.078 GB, free: 12.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/1.416, allocations: 35.92 kB / 1.078 GB, free: 12.88 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001653/1.418, allocations: 0.7038 MB / 1.078 GB, free: 12.36 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.91e-07/1.418, allocations: 0 / 1.078 GB, free: 12.36 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002018/1.42, allocations: 354.7 kB / 1.079 GB, free: 12.02 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * 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.004038/1.424, allocations: 2.048 MB / 1.081 GB, free: 10.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003779/1.428, allocations: 1.447 MB / 1.082 GB, free: 9.141 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.428, allocations: 0.75 kB / 1.082 GB, free: 9.141 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009111/1.429, allocations: 460.6 kB / 1.083 GB, free: 8.758 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/1.431, allocations: 211.3 kB / 1.083 GB, free: 8.602 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006873/1.438, allocations: 2.357 MB / 1.085 GB, free: 6.352 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/1.439, allocations: 1.125 MB / 1.086 GB, free: 5.223 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001168/1.44, allocations: 203.3 kB / 1.086 GB, free: 5.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000824/1.441, allocations: 397.9 kB / 1.087 GB, free: 4.926 MB / 0.698 GB Notification: Performance of SimCode: time 1.323e-06/1.441, allocations: 0 / 1.087 GB, free: 4.926 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09561/1.536, allocations: 21.8 MB / 1.108 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003434/1.537, allocations: 145 kB / 1.108 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.453/4.989, allocations: 0 / 1.108 GB, free: 15.14 MB / 0.7292 GB