Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001036, allocations: 179.5 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4564/0.4564, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 221.3 MB / 348.3 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009226/0.0009228, allocations: 106.7 kB / 421.2 MB, free: 5.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.694e-05/3.698e-05, allocations: 7.984 kB / 0.4897 GB, free: 5.266 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3907, allocations: 72.29 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6862/1.077, allocations: 330.6 MB / 0.8832 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/1.077, allocations: 68.7 kB / 0.8832 GB, free: 2.973 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.02831/1.106, allocations: 13.34 MB / 0.8963 GB, free: 8.441 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.383e-06/1.106, allocations: 4 kB / 0.8963 GB, free: 8.438 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.268e-06/1.106, allocations: 0 / 0.8963 GB, free: 8.438 MB / 0.573 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.0003288/1.106, allocations: 353.7 kB / 0.8966 GB, free: 8.051 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/1.106, allocations: 11.98 kB / 0.8966 GB, free: 8.039 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.185e-05/1.106, allocations: 38.31 kB / 0.8967 GB, free: 7.996 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.75e-05/1.106, allocations: 0 / 0.8967 GB, free: 7.996 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/1.106, allocations: 171 kB / 0.8968 GB, free: 7.789 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/1.106, allocations: 0 / 0.8968 GB, free: 7.789 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/1.106, allocations: 7.438 kB / 0.8968 GB, free: 7.785 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.919e-05/1.107, allocations: 51.55 kB / 0.8969 GB, free: 7.734 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.739e-06/1.107, allocations: 0 / 0.8969 GB, free: 7.734 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/1.107, allocations: 11.58 kB / 0.8969 GB, free: 7.727 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-06/1.107, allocations: 0 / 0.8969 GB, free: 7.727 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.233e-05/1.107, allocations: 15.98 kB / 0.8969 GB, free: 7.711 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/1.107, allocations: 164.7 kB / 0.8971 GB, free: 7.508 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/1.107, allocations: 49.58 kB / 0.8971 GB, free: 7.457 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.487e-05/1.107, allocations: 24.53 kB / 0.8971 GB, free: 7.434 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007046/1.108, allocations: 0.6182 MB / 0.8977 GB, free: 6.723 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/1.108, allocations: 34.56 kB / 0.8978 GB, free: 6.68 MB / 0.573 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/1.108, allocations: 0 / 0.8978 GB, free: 6.68 MB / 0.573 GB Notification: Performance of matching and sorting (n=7): time 0.0005237/1.108, allocations: 295.5 kB / 0.8981 GB, free: 6.359 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/1.108, allocations: 55.34 kB / 0.8981 GB, free: 6.293 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.524e-05/1.108, allocations: 92.5 kB / 0.8982 GB, free: 6.199 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/1.108, allocations: 29.7 kB / 0.8982 GB, free: 6.164 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/1.108, allocations: 91.97 kB / 0.8983 GB, free: 6.07 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/1.108, allocations: 34.86 kB / 0.8983 GB, free: 6.043 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/1.108, allocations: 0 / 0.8983 GB, free: 6.043 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.797e-05/1.109, allocations: 310.8 kB / 0.8986 GB, free: 5.73 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.671e-05/1.109, allocations: 19.5 kB / 0.8987 GB, free: 5.715 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.196e-05/1.109, allocations: 52.27 kB / 0.8987 GB, free: 5.652 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.555e-05/1.109, allocations: 16.3 kB / 0.8987 GB, free: 5.641 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.109, allocations: 8 kB / 0.8987 GB, free: 5.633 MB / 0.573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001239/1.109, allocations: 87.83 kB / 0.8988 GB, free: 5.551 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/1.109, allocations: 7.984 kB / 0.8988 GB, free: 5.543 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/1.109, allocations: 4 kB / 0.8988 GB, free: 5.539 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/1.109, allocations: 0 / 0.8988 GB, free: 5.539 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.485e-05/1.109, allocations: 23.38 kB / 0.8988 GB, free: 5.52 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/1.109, allocations: 4 kB / 0.8989 GB, free: 5.516 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.322e-05/1.109, allocations: 0 / 0.8989 GB, free: 5.516 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/1.109, allocations: 4.125 kB / 0.8989 GB, free: 5.512 MB / 0.573 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.029e-05/1.109, allocations: 124.2 kB / 0.899 GB, free: 5.387 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/1.109, allocations: 11.86 kB / 0.899 GB, free: 5.375 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/1.109, allocations: 7.406 kB / 0.899 GB, free: 5.371 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/1.109, allocations: 0 / 0.899 GB, free: 5.371 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.109, allocations: 0 / 0.899 GB, free: 5.371 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/1.109, allocations: 0 / 0.899 GB, free: 5.371 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/1.109, allocations: 173.4 kB / 0.8992 GB, free: 5.16 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/1.109, allocations: 4 kB / 0.8992 GB, free: 5.156 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.998e-05/1.109, allocations: 16 kB / 0.8992 GB, free: 5.141 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/1.11, allocations: 11.94 kB / 0.8992 GB, free: 5.129 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/1.11, allocations: 0 / 0.8992 GB, free: 5.129 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/1.11, allocations: 0 / 0.8992 GB, free: 5.129 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.11, allocations: 0 / 0.8992 GB, free: 5.129 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/1.11, allocations: 172 kB / 0.8994 GB, free: 4.957 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/1.11, allocations: 92.98 kB / 0.8994 GB, free: 4.848 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/1.11, allocations: 7.703 kB / 0.8994 GB, free: 4.844 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.142e-05/1.11, allocations: 0 / 0.8994 GB, free: 4.844 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/1.11, allocations: 8.375 kB / 0.8995 GB, free: 4.836 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/1.11, allocations: 7.984 kB / 0.8995 GB, free: 4.828 MB / 0.573 GB Notification: Performance of sorting global known variables: time 3.613e-05/1.11, allocations: 82.58 kB / 0.8995 GB, free: 4.75 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.11, allocations: 0 / 0.8995 GB, free: 4.75 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002141/1.11, allocations: 15.62 kB / 0.8996 GB, free: 4.738 MB / 0.573 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.0004224/1.111, allocations: 0.7168 MB / 0.9003 GB, free: 4.012 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 8.457e-05/1.111, allocations: 36.06 kB / 0.9003 GB, free: 3.98 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.111, allocations: 8.062 kB / 0.9003 GB, free: 3.973 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 2.371e-05/1.111, allocations: 13.56 kB / 0.9003 GB, free: 3.965 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/1.111, allocations: 13.03 kB / 0.9003 GB, free: 3.953 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005699/1.111, allocations: 317.8 kB / 0.9006 GB, free: 3.613 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/1.112, allocations: 0.6848 MB / 0.9013 GB, free: 2.902 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 5.488e-05/1.112, allocations: 7.984 kB / 0.9013 GB, free: 2.895 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/1.112, allocations: 15.38 kB / 0.9013 GB, free: 2.883 MB / 0.573 GB Notification: Performance of SimCode: time 4.61e-07/1.112, allocations: 0 / 0.9013 GB, free: 2.883 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01052/1.122, allocations: 1.829 MB / 0.9031 GB, free: 1.168 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/1.123, allocations: 142.8 kB / 0.9032 GB, free: 0.9453 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.391/2.513, allocations: 0 / 0.9032 GB, free: 0.9453 MB / 0.573 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)