Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.104/2.104, allocations: 251 MB / 265.9 MB, free: 11.67 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.001581/0.001581, allocations: 187.9 kB / 325.5 MB, free: 2.891 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.35/2.35, allocations: 205.4 MB / 0.5764 GB, free: 20.78 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.001079/0.001079, allocations: 94.38 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006605/0.0006606, allocations: 12.25 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2183, allocations: 106.3 MB / 0.8988 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.226/0.4444, allocations: 133.5 MB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/0.4448, allocations: 83.94 kB / 1.029 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02609/0.4709, allocations: 5.265 MB / 1.034 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.599e-06/0.471, allocations: 4 kB / 1.034 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.471, allocations: 0 / 1.034 GB, free: 6.445 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006733/0.4717, allocations: 418.8 kB / 1.035 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.4717, allocations: 8.031 kB / 1.035 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.61e-05/0.4718, allocations: 38.55 kB / 1.035 GB, free: 5.934 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.4719, allocations: 15.86 kB / 1.035 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.4723, allocations: 191 kB / 1.035 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.4723, allocations: 0 / 1.035 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.4723, allocations: 4 kB / 1.035 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.4726, allocations: 69.66 kB / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4726, allocations: 0 / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.4726, allocations: 0 / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4726, allocations: 0 / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002721/0.4729, allocations: 55.92 kB / 1.035 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006953/0.4736, allocations: 312.7 kB / 1.035 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.4739, allocations: 58.5 kB / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.4739, allocations: 128 / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.474, allocations: 42.5 kB / 1.036 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.502e-06/0.474, allocations: 0 / 1.036 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.0005987/0.4746, allocations: 125.5 kB / 1.036 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.4747, allocations: 59.34 kB / 1.036 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.4748, allocations: 114.9 kB / 1.036 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.4748, allocations: 25.7 kB / 1.036 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.933e-05/0.4749, allocations: 100.2 kB / 1.036 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.475, allocations: 11.81 kB / 1.036 GB, free: 4.621 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/0.475, allocations: 0 / 1.036 GB, free: 4.621 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.4751, allocations: 322.8 kB / 1.036 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.4753, allocations: 27.98 kB / 1.036 GB, free: 4.27 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.4754, allocations: 23.98 kB / 1.036 GB, free: 4.246 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.4756, allocations: 27.98 kB / 1.036 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4756, allocations: 0 / 1.036 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003836/0.476, allocations: 101.6 kB / 1.036 GB, free: 4.113 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.4761, allocations: 4 kB / 1.036 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4761, allocations: 7.938 kB / 1.036 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.4761, allocations: 0 / 1.036 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.4763, allocations: 19.92 kB / 1.036 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.4763, allocations: 3.953 kB / 1.036 GB, free: 4.078 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.4765, allocations: 15.84 kB / 1.036 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.4765, allocations: 4 kB / 1.036 GB, free: 4.059 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.4766, allocations: 113.8 kB / 1.037 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.4767, allocations: 7.906 kB / 1.037 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004148/0.4771, allocations: 110 kB / 1.037 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4771, allocations: 0 / 1.037 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4771, allocations: 3.984 kB / 1.037 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.4771, allocations: 3.953 kB / 1.037 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.4774, allocations: 181.6 kB / 1.037 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4774, allocations: 3.938 kB / 1.037 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.4776, allocations: 15.98 kB / 1.037 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.4776, allocations: 0.5 kB / 1.037 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.4776, allocations: 4 kB / 1.037 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4776, allocations: 0 / 1.037 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.4777, allocations: 4 kB / 1.037 GB, free: 3.551 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004351/0.4781, allocations: 195.4 kB / 1.037 GB, free: 3.344 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.4782, allocations: 89.02 kB / 1.037 GB, free: 3.238 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.4782, allocations: 0 / 1.037 GB, free: 3.238 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.4783, allocations: 11.98 kB / 1.037 GB, free: 3.227 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.4784, allocations: 4 kB / 1.037 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.4784, allocations: 0 / 1.037 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.952e-05/0.4785, allocations: 100.8 kB / 1.037 GB, free: 3.125 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.02e-07/0.4785, allocations: 7.875 kB / 1.037 GB, free: 3.117 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003486/0.4789, allocations: 31.92 kB / 1.037 GB, free: 3.086 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008094/0.4797, allocations: 0.7437 MB / 1.038 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003454/0.4801, allocations: 67.91 kB / 1.038 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4801, allocations: 0 / 1.038 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.4803, allocations: 39.97 kB / 1.038 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.4806, allocations: 7.984 kB / 1.038 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008293/0.4814, allocations: 436.2 kB / 1.039 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.4817, allocations: 0.6965 MB / 1.039 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.225e-05/0.4818, allocations: 8.172 kB / 1.039 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.895e-05/0.4819, allocations: 15.44 kB / 1.039 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of SimCode: time 1.443e-06/0.4819, allocations: 0 / 1.039 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.5078, allocations: 1.976 MB / 1.041 GB, free: 15.18 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003607/0.5083, allocations: 199.4 kB / 1.041 GB, free: 14.93 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/2.906, allocations: 0 / 1.041 GB, free: 14.93 MB / 0.698 GB