Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.684/1.684, allocations: 289.9 MB / 297.4 MB, free: 6.41 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.00103/0.00103, allocations: 184.8 kB / 366.7 MB, free: 1.691 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.804/1.804, allocations: 205.3 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008734/0.0008732, allocations: 83.45 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.025e-05/2.012e-05, allocations: 0 / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8106/0.8107, allocations: 116.3 MB / 0.9733 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.154/1.965, allocations: 367.3 MB / 1.332 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/1.965, allocations: 69.39 kB / 1.332 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02841/1.994, allocations: 12.99 MB / 1.345 GB, free: 173 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.994e-06/1.994, allocations: 0 / 1.345 GB, free: 173 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.073e-05/1.994, allocations: 0 / 1.345 GB, free: 173 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.000435/1.994, allocations: 346 kB / 1.345 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 7.387e-05/1.994, allocations: 9.594 kB / 1.345 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/1.995, allocations: 7.156 kB / 1.345 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/1.995, allocations: 171 kB / 1.345 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/1.995, allocations: 3.188 kB / 1.345 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/1.995, allocations: 3.156 kB / 1.345 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001053/1.995, allocations: 17.11 kB / 1.345 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/1.995, allocations: 50.7 kB / 1.345 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/1.995, allocations: 0 / 1.345 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/1.995, allocations: 3.938 kB / 1.345 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/1.995, allocations: 7.125 kB / 1.345 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/1.995, allocations: 143.9 kB / 1.345 GB, free: 172.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/1.995, allocations: 52.44 kB / 1.346 GB, free: 172.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.609e-05/1.995, allocations: 14.42 kB / 1.346 GB, free: 172.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008581/1.996, allocations: 0.6051 MB / 1.346 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/1.996, allocations: 34.12 kB / 1.346 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/1.996, allocations: 4 kB / 1.346 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0005742/1.997, allocations: 278.2 kB / 1.346 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/1.997, allocations: 51.41 kB / 1.346 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.943e-05/1.997, allocations: 96.27 kB / 1.347 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/1.997, allocations: 29.64 kB / 1.347 GB, free: 171 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/1.997, allocations: 87.92 kB / 1.347 GB, free: 170.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/1.997, allocations: 31.14 kB / 1.347 GB, free: 170.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-06/1.997, allocations: 0 / 1.347 GB, free: 170.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.899e-05/1.997, allocations: 314.3 kB / 1.347 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.303e-05/1.997, allocations: 11.19 kB / 1.347 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.194e-05/1.997, allocations: 47.83 kB / 1.347 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.834e-05/1.997, allocations: 23.11 kB / 1.347 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/1.997, allocations: 0 / 1.347 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001225/1.998, allocations: 83.64 kB / 1.347 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/1.998, allocations: 7.75 kB / 1.347 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.998, allocations: 0 / 1.347 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/1.998, allocations: 3.875 kB / 1.347 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.546e-05/1.998, allocations: 19.48 kB / 1.347 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/1.998, allocations: 7.938 kB / 1.347 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.991e-05/1.998, allocations: 7.953 kB / 1.347 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/1.998, allocations: 3.75 kB / 1.347 GB, free: 170.5 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 6.893e-05/1.998, allocations: 101 kB / 1.347 GB, free: 170.4 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.457e-05/1.998, allocations: 56.55 kB / 1.347 GB, free: 170.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/1.998, allocations: 7.344 kB / 1.347 GB, free: 170.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/1.998, allocations: 11.83 kB / 1.347 GB, free: 170.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/1.998, allocations: 3.938 kB / 1.347 GB, free: 170.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.998, allocations: 3.953 kB / 1.347 GB, free: 170.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/1.998, allocations: 7.406 kB / 1.347 GB, free: 170.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/1.998, allocations: 147.7 kB / 1.348 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.998, allocations: 0 / 1.348 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.236e-05/1.998, allocations: 19.08 kB / 1.348 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/1.998, allocations: 0 / 1.348 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/1.998, allocations: 10 kB / 1.348 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/1.998, allocations: 0 / 1.348 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.998, allocations: 0 / 1.348 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/1.999, allocations: 165.7 kB / 1.348 GB, free: 170 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.142e-05/1.999, allocations: 88.89 kB / 1.348 GB, free: 169.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/1.999, allocations: 0 / 1.348 GB, free: 169.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.162e-05/1.999, allocations: 48 / 1.348 GB, free: 169.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/1.999, allocations: 7.859 kB / 1.348 GB, free: 169.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/1.999, allocations: 3.312 kB / 1.348 GB, free: 169.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.986e-05/1.999, allocations: 83.09 kB / 1.348 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/1.999, allocations: 0 / 1.348 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002285/1.999, allocations: 11.53 kB / 1.348 GB, free: 169.8 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.0003448/1.999, allocations: 0.7178 MB / 1.349 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.052e-05/1.999, allocations: 36.25 kB / 1.349 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/2, allocations: 3.875 kB / 1.349 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.729e-05/2, allocations: 15.03 kB / 1.349 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/2, allocations: 5.031 kB / 1.349 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006809/2, allocations: 309 kB / 1.349 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/2.001, allocations: 0.685 MB / 1.35 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.011e-05/2.001, allocations: 7.875 kB / 1.35 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/2.001, allocations: 18.75 kB / 1.35 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of SimCode: time 2.5e-07/2.001, allocations: 0 / 1.35 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/2.022, allocations: 1.3 MB / 1.351 GB, free: 167.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000238/2.023, allocations: 127.2 kB / 1.351 GB, free: 167.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/3.722, allocations: 2.297 kB / 1.351 GB, free: 167.3 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Media_Examples_WaterDerivativeCheck.fmu > Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)