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.192/2.192, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001537/0.001537, allocations: 184.2 kB / 325.5 MB, free: 2.902 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.339/2.339, allocations: 205.4 MB / 0.5764 GB, free: 21.22 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.001209/0.001209, allocations: 98.39 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000468/0.000468, allocations: 12.84 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1996, allocations: 106.3 MB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.25/0.4496, allocations: 141.3 MB / 1.037 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/0.45, allocations: 79.97 kB / 1.037 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.899/1.349, allocations: 28.68 MB / 1.065 GB, free: 144.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.236e-06/1.349, allocations: 0 / 1.065 GB, free: 144.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001569/1.349, allocations: 25.69 kB / 1.065 GB, free: 144.4 MB / 0.698 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.01134/1.361, allocations: 1.564 MB / 1.066 GB, free: 143.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.163e-05/1.361, allocations: 10.16 kB / 1.066 GB, free: 143.6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004923/1.361, allocations: 78.69 kB / 1.066 GB, free: 143.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/1.363, allocations: 134.1 kB / 1.067 GB, free: 143.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/1.373, allocations: 1.559 MB / 1.068 GB, free: 143.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/1.373, allocations: 43.31 kB / 1.068 GB, free: 143.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003881/1.374, allocations: 67.27 kB / 1.068 GB, free: 143.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002591/1.376, allocations: 0.6613 MB / 1.069 GB, free: 143 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.644e-05/1.376, allocations: 2.531 kB / 1.069 GB, free: 143 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/1.376, allocations: 16.28 kB / 1.069 GB, free: 143 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/1.376, allocations: 14.58 kB / 1.069 GB, free: 143 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002616/1.379, allocations: 0.6286 MB / 1.07 GB, free: 143 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01039/1.389, allocations: 2.752 MB / 1.072 GB, free: 142 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004333/1.394, allocations: 0.9267 MB / 1.073 GB, free: 141.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001965/1.394, allocations: 26.41 kB / 1.073 GB, free: 141.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/1.394, allocations: 41.11 kB / 1.073 GB, free: 141.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 4.298e-06/1.394, allocations: 0 / 1.073 GB, free: 141.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.005369/1.4, allocations: 1.302 MB / 1.074 GB, free: 141.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/1.4, allocations: 59.36 kB / 1.074 GB, free: 141.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00356/1.403, allocations: 1.048 MB / 1.076 GB, free: 141.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000343/1.404, allocations: 39.86 kB / 1.076 GB, free: 141.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006625/1.404, allocations: 466.6 kB / 1.076 GB, free: 141.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004527/1.405, allocations: 168.8 kB / 1.076 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/1.405, allocations: 16.84 kB / 1.076 GB, free: 141.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.405, allocations: 354.5 kB / 1.077 GB, free: 140.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002018/1.407, allocations: 0.5478 MB / 1.077 GB, free: 140.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002572/1.41, allocations: 0.8704 MB / 1.078 GB, free: 140.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002488/1.412, allocations: 0.653 MB / 1.079 GB, free: 140.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.641e-05/1.412, allocations: 3.844 kB / 1.079 GB, free: 140.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00618/1.419, allocations: 1.599 MB / 1.08 GB, free: 140.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.058e-05/1.419, allocations: 9.875 kB / 1.08 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.345e-05/1.419, allocations: 12 kB / 1.08 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003532/1.419, allocations: 54.34 kB / 1.08 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004376/1.424, allocations: 372.9 kB / 1.081 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007128/1.431, allocations: 6.828 MB / 1.087 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002784/1.434, allocations: 149.2 kB / 1.087 GB, free: 134.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003198/1.434, allocations: 70.19 kB / 1.087 GB, free: 134.2 MB / 0.698 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 () * Number of clocked 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.0008757/1.435, allocations: 301.2 kB / 1.088 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000532/1.435, allocations: 115.2 kB / 1.088 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003188/1.439, allocations: 1.023 MB / 1.089 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/1.439, allocations: 5.594 kB / 1.089 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.439, allocations: 0.5312 kB / 1.089 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/1.439, allocations: 4.438 kB / 1.089 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/1.441, allocations: 0.9644 MB / 1.09 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/1.441, allocations: 0 / 1.09 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/1.442, allocations: 121.5 kB / 1.09 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000177/1.442, allocations: 38.8 kB / 1.09 GB, free: 133.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.302e-05/1.442, allocations: 20.89 kB / 1.09 GB, free: 133.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/1.443, allocations: 1.341 MB / 1.091 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.443, allocations: 0 / 1.091 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003293/1.447, allocations: 1.512 MB / 1.093 GB, free: 132 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/1.448, allocations: 371.6 kB / 1.093 GB, free: 131.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002802/1.448, allocations: 23.25 kB / 1.093 GB, free: 131.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/1.45, allocations: 52.84 kB / 1.093 GB, free: 131.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/1.45, allocations: 26.25 kB / 1.093 GB, free: 131.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.988e-05/1.45, allocations: 44.11 kB / 1.093 GB, free: 131.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001679/1.452, allocations: 0.7726 MB / 1.094 GB, free: 131.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.22e-07/1.452, allocations: 0 / 1.094 GB, free: 131.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00211/1.454, allocations: 384.8 kB / 1.094 GB, free: 131.4 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 () * Number of clocked 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.003531/1.457, allocations: 2.103 MB / 1.096 GB, free: 130.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003442/1.461, allocations: 1.535 MB / 1.098 GB, free: 129.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.461, allocations: 0 / 1.098 GB, free: 129.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008015/1.462, allocations: 484.4 kB / 1.098 GB, free: 129.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/1.463, allocations: 206.1 kB / 1.099 GB, free: 129.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0081/1.471, allocations: 10.71 MB / 1.109 GB, free: 120 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007068/1.472, allocations: 1.113 MB / 1.11 GB, free: 119.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001058/1.473, allocations: 212.4 kB / 1.11 GB, free: 119.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006843/1.474, allocations: 397.9 kB / 1.111 GB, free: 118.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.663e-06/1.474, allocations: 0 / 1.111 GB, free: 118.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06641/1.54, allocations: 24.07 MB / 1.134 GB, free: 95.86 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002378/1.541, allocations: 221.9 kB / 1.134 GB, free: 95.62 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.372/4.912, allocations: 0 / 1.134 GB, free: 95.62 MB / 0.698 GB