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.231/2.231, allocations: 248.5 MB / 261.1 MB, free: 6.051 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.001403/0.001403, allocations: 182.2 kB / 320.4 MB, free: 15.34 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.965/1.965, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001169/0.001169, allocations: 98.47 kB / 0.6754 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.778e-05/3.799e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2097, allocations: 106.2 MB / 0.8907 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.22/1.43, allocations: 359.3 MB / 1.242 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/1.43, allocations: 74.33 kB / 1.242 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.6505/2.081, allocations: 12.7 MB / 1.254 GB, free: 310.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.893e-06/2.081, allocations: 3.938 kB / 1.254 GB, free: 310.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.306e-06/2.081, allocations: 1.969 kB / 1.254 GB, free: 310.5 MB / 0.8542 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.0004019/2.081, allocations: 344.5 kB / 1.254 GB, free: 310.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/2.081, allocations: 14.12 kB / 1.254 GB, free: 310.2 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.51e-05/2.081, allocations: 34.41 kB / 1.254 GB, free: 310.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/2.081, allocations: 8.797 kB / 1.254 GB, free: 310.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/2.082, allocations: 162.6 kB / 1.255 GB, free: 309.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/2.082, allocations: 4.688 kB / 1.255 GB, free: 309.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/2.082, allocations: 7.641 kB / 1.255 GB, free: 309.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/2.082, allocations: 48.19 kB / 1.255 GB, free: 309.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/2.082, allocations: 0.5625 kB / 1.255 GB, free: 309.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/2.082, allocations: 7.75 kB / 1.255 GB, free: 309.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/2.082, allocations: 1.438 kB / 1.255 GB, free: 309.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.059e-05/2.082, allocations: 22.23 kB / 1.255 GB, free: 309.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/2.082, allocations: 173.2 kB / 1.255 GB, free: 309.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/2.082, allocations: 48.81 kB / 1.255 GB, free: 309.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.704e-05/2.082, allocations: 15.98 kB / 1.255 GB, free: 309.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/2.083, allocations: 0.615 MB / 1.255 GB, free: 309 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.604e-05/2.084, allocations: 37.33 kB / 1.255 GB, free: 309 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 3.567e-06/2.084, allocations: 0 / 1.255 GB, free: 309 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.00071/2.084, allocations: 295.6 kB / 1.256 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/2.084, allocations: 53.28 kB / 1.256 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.658e-05/2.084, allocations: 95.03 kB / 1.256 GB, free: 308.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/2.084, allocations: 30.8 kB / 1.256 GB, free: 308.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/2.085, allocations: 82.12 kB / 1.256 GB, free: 308.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/2.085, allocations: 29 kB / 1.256 GB, free: 308.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/2.085, allocations: 5.188 kB / 1.256 GB, free: 308.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.985e-05/2.085, allocations: 313.5 kB / 1.256 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.392e-05/2.085, allocations: 12.81 kB / 1.256 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.411e-05/2.085, allocations: 59.7 kB / 1.256 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.624e-05/2.085, allocations: 25.62 kB / 1.256 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/2.085, allocations: 0 / 1.256 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002028/2.085, allocations: 92.92 kB / 1.257 GB, free: 308 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/2.085, allocations: 9.609 kB / 1.257 GB, free: 308 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/2.085, allocations: 5.188 kB / 1.257 GB, free: 308 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/2.085, allocations: 3.359 kB / 1.257 GB, free: 308 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/2.085, allocations: 21.86 kB / 1.257 GB, free: 308 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/2.085, allocations: 2.203 kB / 1.257 GB, free: 308 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.156e-05/2.085, allocations: 3.844 kB / 1.257 GB, free: 308 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/2.085, allocations: 13.58 kB / 1.257 GB, free: 308 MB / 0.8542 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 () * 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 7.257e-05/2.086, allocations: 111 kB / 1.257 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.784e-05/2.086, allocations: 2.781 kB / 1.257 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.61e-05/2.086, allocations: 17.19 kB / 1.257 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/2.086, allocations: 0.8438 kB / 1.257 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/2.086, allocations: 2.109 kB / 1.257 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/2.086, allocations: 0 / 1.257 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003656/2.086, allocations: 172.6 kB / 1.257 GB, free: 307.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/2.086, allocations: 0 / 1.257 GB, free: 307.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/2.086, allocations: 19.11 kB / 1.257 GB, free: 307.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/2.086, allocations: 1.062 kB / 1.257 GB, free: 307.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/2.086, allocations: 0 / 1.257 GB, free: 307.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/2.086, allocations: 5.703 kB / 1.257 GB, free: 307.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/2.086, allocations: 0 / 1.257 GB, free: 307.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/2.087, allocations: 178.3 kB / 1.257 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-05/2.087, allocations: 81.23 kB / 1.257 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/2.087, allocations: 2.031 kB / 1.257 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/2.087, allocations: 6.656 kB / 1.257 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/2.087, allocations: 8.125 kB / 1.257 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/2.087, allocations: 2.094 kB / 1.257 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.127e-05/2.087, allocations: 78.91 kB / 1.257 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.7e-07/2.087, allocations: 4 kB / 1.257 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003621/2.087, allocations: 15.23 kB / 1.257 GB, free: 307.4 MB / 0.8542 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 () * 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.0004873/2.088, allocations: 0.7292 MB / 1.258 GB, free: 306.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001743/2.088, allocations: 42.59 kB / 1.258 GB, free: 306.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/2.088, allocations: 1.25 kB / 1.258 GB, free: 306.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.152e-05/2.088, allocations: 20.94 kB / 1.258 GB, free: 306.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/2.088, allocations: 7.5 kB / 1.258 GB, free: 306.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009161/2.089, allocations: 320.3 kB / 1.258 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/2.089, allocations: 0.6904 MB / 1.259 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.442e-05/2.09, allocations: 9.469 kB / 1.259 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/2.09, allocations: 15.25 kB / 1.259 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.142e-06/2.09, allocations: 0 / 1.259 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/2.111, allocations: 1.824 MB / 1.261 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/2.111, allocations: 144.2 kB / 1.261 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.301/4.412, allocations: 8.062 kB / 1.261 GB, free: 305.3 MB / 0.8542 GB