Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.712/1.712, allocations: 288.2 MB / 303.2 MB, free: 8.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 193 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 205.4 MB / 0.6305 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001185/0.001185, allocations: 91.42 kB / 0.7439 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004936/0.0004933, allocations: 10.56 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3418, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.156/1.498, allocations: 367.1 MB / 1.338 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/1.499, allocations: 73.7 kB / 1.338 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0312/1.53, allocations: 13.08 MB / 1.351 GB, free: 2.809 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.689e-06/1.53, allocations: 0 / 1.351 GB, free: 2.809 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.103e-05/1.53, allocations: 0 / 1.351 GB, free: 2.809 MB / 0.8698 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.0005593/1.53, allocations: 347.5 kB / 1.351 GB, free: 2.426 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 8.212e-05/1.531, allocations: 12.02 kB / 1.351 GB, free: 2.414 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.322e-05/1.531, allocations: 34.56 kB / 1.351 GB, free: 2.371 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/1.531, allocations: 4.781 kB / 1.351 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/1.531, allocations: 186.3 kB / 1.351 GB, free: 2.148 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/1.531, allocations: 0 / 1.351 GB, free: 2.148 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/1.531, allocations: 7.375 kB / 1.351 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/1.531, allocations: 57.02 kB / 1.351 GB, free: 2.086 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/1.531, allocations: 3.938 kB / 1.351 GB, free: 2.082 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/1.531, allocations: 3.062 kB / 1.351 GB, free: 2.082 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/1.531, allocations: 4 kB / 1.351 GB, free: 2.078 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.293e-05/1.531, allocations: 11.98 kB / 1.351 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/1.532, allocations: 166.6 kB / 1.352 GB, free: 1.863 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/1.532, allocations: 58.23 kB / 1.352 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009261/1.533, allocations: 0.5957 MB / 1.352 GB, free: 1.113 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/1.533, allocations: 33.69 kB / 1.352 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/1.533, allocations: 0 / 1.352 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0007914/1.534, allocations: 311 kB / 1.353 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/1.534, allocations: 55.34 kB / 1.353 GB, free: 0.6758 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.717e-05/1.534, allocations: 92.88 kB / 1.353 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/1.534, allocations: 29.7 kB / 1.353 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/1.534, allocations: 84.05 kB / 1.353 GB, free: 472 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/1.534, allocations: 27.39 kB / 1.353 GB, free: 448 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/1.534, allocations: 2.875 kB / 1.353 GB, free: 448 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001795/1.534, allocations: 318.7 kB / 1.353 GB, free: 124 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.928e-05/1.534, allocations: 11.98 kB / 1.353 GB, free: 112 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.528e-05/1.534, allocations: 52.77 kB / 1.353 GB, free: 48 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.055e-05/1.534, allocations: 18.69 kB / 1.353 GB, free: 36 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/1.534, allocations: 4 kB / 1.353 GB, free: 32 kB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002017/1.535, allocations: 100.1 kB / 1.353 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/1.535, allocations: 5.719 kB / 1.353 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/1.535, allocations: 4 kB / 1.353 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/1.535, allocations: 3.938 kB / 1.353 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/1.535, allocations: 23.92 kB / 1.353 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/1.535, allocations: 7.781 kB / 1.353 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.016e-05/1.535, allocations: 0 / 1.353 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/1.535, allocations: 8.125 kB / 1.353 GB, free: 15.89 MB / 0.8855 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.0001028/1.535, allocations: 120 kB / 1.353 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/1.535, allocations: 4 kB / 1.353 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/1.535, allocations: 6.344 kB / 1.353 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/1.535, allocations: 0 / 1.353 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.535, allocations: 3.953 kB / 1.353 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.535, allocations: 3.984 kB / 1.353 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/1.535, allocations: 172.7 kB / 1.354 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.535, allocations: 7.984 kB / 1.354 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.465e-05/1.536, allocations: 16 kB / 1.354 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.536, allocations: 0 / 1.354 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/1.536, allocations: 0 / 1.354 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.536, allocations: 0 / 1.354 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.536, allocations: 0 / 1.354 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/1.536, allocations: 181 kB / 1.354 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/1.536, allocations: 81.14 kB / 1.354 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/1.536, allocations: 4 kB / 1.354 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/1.536, allocations: 10.38 kB / 1.354 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.313e-05/1.536, allocations: 4 kB / 1.354 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/1.536, allocations: 3.438 kB / 1.354 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.579e-05/1.536, allocations: 83.27 kB / 1.354 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1e-07/1.536, allocations: 0 / 1.354 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002612/1.536, allocations: 18.64 kB / 1.354 GB, free: 15.13 MB / 0.8855 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.0006659/1.537, allocations: 0.7222 MB / 1.355 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001771/1.537, allocations: 50.39 kB / 1.355 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.537, allocations: 0 / 1.355 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.423e-05/1.537, allocations: 15.98 kB / 1.355 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/1.538, allocations: 7.562 kB / 1.355 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/1.539, allocations: 1.439 MB / 1.356 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/1.54, allocations: 0.6926 MB / 1.357 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.478e-05/1.54, allocations: 4 kB / 1.357 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/1.54, allocations: 18.69 kB / 1.357 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of SimCode: time 2.6e-07/1.54, allocations: 0 / 1.357 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/1.557, allocations: 1.79 MB / 1.359 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/1.557, allocations: 180.6 kB / 1.359 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/3.287, allocations: 0 / 1.359 GB, free: 10.22 MB / 0.8855 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Media_Examples_WaterDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)