Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck.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.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Examples_WaterDerivativeCheck",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.203/2.203, allocations: 251 MB / 265.9 MB, free: 11.69 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.002429/0.002429, allocations: 188.5 kB / 325.5 MB, free: 2.91 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.472/2.472, allocations: 205.4 MB / 0.5764 GB, free: 20.81 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.00113/0.00113, allocations: 108.7 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006642/0.0006641, allocations: 11.06 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2286, allocations: 106.3 MB / 0.8988 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.22/1.448, allocations: 359.3 MB / 1.25 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/1.449, allocations: 71.09 kB / 1.25 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.04738/1.496, allocations: 12.75 MB / 1.262 GB, free: 140 kB / 0.7605 GB Notification: Performance of FrontEnd: time 2.515e-06/1.496, allocations: 0 / 1.262 GB, free: 140 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.095e-06/1.496, allocations: 4 kB / 1.262 GB, free: 136 kB / 0.7605 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.0005458/1.497, allocations: 346.9 kB / 1.263 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/1.497, allocations: 12.03 kB / 1.263 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.782e-05/1.497, allocations: 30.56 kB / 1.263 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/1.497, allocations: 15.69 kB / 1.263 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/1.497, allocations: 159.1 kB / 1.263 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/1.497, allocations: 4 kB / 1.263 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/1.497, allocations: 7.938 kB / 1.263 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/1.497, allocations: 53.23 kB / 1.263 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/1.497, allocations: 3.938 kB / 1.263 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/1.497, allocations: 0 / 1.263 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/1.497, allocations: 0 / 1.263 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.622e-05/1.498, allocations: 19.92 kB / 1.263 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002694/1.498, allocations: 176.8 kB / 1.263 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/1.498, allocations: 45.31 kB / 1.263 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/1.499, allocations: 0.6015 MB / 1.264 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.56e-05/1.499, allocations: 46.06 kB / 1.264 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 3.977e-06/1.499, allocations: 0 / 1.264 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0008552/1.5, allocations: 300.2 kB / 1.264 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/1.5, allocations: 59.34 kB / 1.264 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.129e-05/1.5, allocations: 96.53 kB / 1.264 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/1.5, allocations: 25.7 kB / 1.264 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/1.501, allocations: 87.5 kB / 1.264 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/1.501, allocations: 27.19 kB / 1.264 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/1.501, allocations: 0 / 1.264 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001692/1.501, allocations: 322.4 kB / 1.265 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.515e-05/1.501, allocations: 11.81 kB / 1.265 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.902e-05/1.501, allocations: 48.89 kB / 1.265 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.554e-05/1.501, allocations: 23.12 kB / 1.265 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/1.501, allocations: 0 / 1.265 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002352/1.501, allocations: 96.05 kB / 1.265 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.501, allocations: 8 kB / 1.265 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.501, allocations: 3.953 kB / 1.265 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/1.501, allocations: 4 kB / 1.265 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/1.501, allocations: 19.98 kB / 1.265 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/1.502, allocations: 4.062 kB / 1.265 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.804e-05/1.502, allocations: 7.938 kB / 1.265 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/1.502, allocations: 7.5 kB / 1.265 GB, free: 13.23 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.0001202/1.502, allocations: 115.4 kB / 1.265 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/1.502, allocations: 7.969 kB / 1.265 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.806e-05/1.502, allocations: 15.64 kB / 1.265 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/1.502, allocations: 3.953 kB / 1.265 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/1.502, allocations: 0 / 1.265 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.502, allocations: 3.938 kB / 1.265 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000421/1.502, allocations: 172.7 kB / 1.265 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.502, allocations: 0 / 1.265 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/1.503, allocations: 12 kB / 1.265 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/1.503, allocations: 4 kB / 1.265 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/1.503, allocations: 0 / 1.265 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/1.503, allocations: 7.984 kB / 1.265 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/1.503, allocations: 7.891 kB / 1.265 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/1.503, allocations: 166.2 kB / 1.265 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.464e-05/1.503, allocations: 88.64 kB / 1.265 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/1.503, allocations: 448 / 1.265 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/1.503, allocations: 4 kB / 1.265 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.391e-05/1.503, allocations: 7.938 kB / 1.265 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/1.503, allocations: 11.62 kB / 1.265 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.487e-05/1.503, allocations: 79.66 kB / 1.265 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.31e-07/1.503, allocations: 4 kB / 1.265 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003303/1.504, allocations: 15.5 kB / 1.265 GB, free: 12.46 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0006576/1.504, allocations: 0.7271 MB / 1.266 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000155/1.504, allocations: 43.05 kB / 1.266 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.505, allocations: 0 / 1.266 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.204e-05/1.505, allocations: 16.19 kB / 1.266 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/1.505, allocations: 7.984 kB / 1.266 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/1.507, allocations: 1.429 MB / 1.268 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/1.507, allocations: 0.6932 MB / 1.268 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.652e-05/1.507, allocations: 8 kB / 1.268 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/1.507, allocations: 15.42 kB / 1.268 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of SimCode: time 8.82e-07/1.507, allocations: 0 / 1.268 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/1.533, allocations: 1.795 MB / 1.27 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003745/1.534, allocations: 167.7 kB / 1.27 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.299/3.833, allocations: 0 / 1.27 GB, free: 7.547 MB / 0.7761 GB