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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 107.5 kB / 16.37 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 186.3 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.847/1.847, allocations: 292.3 MB / 0.5496 GB, free: 17.43 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001445, allocations: 71.39 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2505, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.00239/0.253, allocations: 1.255 MB / 0.786 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3843/0.6373, allocations: 3.262 MB / 0.7892 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.858e-05/0.6375, allocations: 0 / 0.7892 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.969e-05/0.6375, allocations: 3.188 kB / 0.7892 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.177e-05/0.6376, allocations: 1.125 kB / 0.7892 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004985/0.6381, allocations: 103.3 kB / 0.7893 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.642e-05/0.6381, allocations: 37.59 kB / 0.7893 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.281e-05/0.6382, allocations: 2.734 kB / 0.7893 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.299e-05/0.6382, allocations: 19.98 kB / 0.7894 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.488e-05/0.6383, allocations: 17.81 kB / 0.7894 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.6383, allocations: 7.312 kB / 0.7894 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002306/0.6386, allocations: 86.34 kB / 0.7895 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.6386, allocations: 3.219 kB / 0.7895 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.6386, allocations: 21.16 kB / 0.7895 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.6388, allocations: 69.75 kB / 0.7895 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6388, allocations: 0.5938 kB / 0.7895 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6388, allocations: 0 / 0.7895 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.6388, allocations: 3.156 kB / 0.7896 GB, free: 46.46 MB / 0.6544 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.0003549/0.6392, allocations: 341.8 kB / 0.7899 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.6392, allocations: 8.719 kB / 0.7899 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.6394, allocations: 16.14 kB / 0.7899 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.662e-05/0.6394, allocations: 160.4 kB / 0.7901 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.6395, allocations: 384 / 0.7901 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.6395, allocations: 11.41 kB / 0.7901 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.6396, allocations: 54.27 kB / 0.7901 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.6396, allocations: 3 kB / 0.7901 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.6396, allocations: 5.062 kB / 0.7901 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.6397, allocations: 0.5938 kB / 0.7901 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.977e-05/0.6397, allocations: 20.3 kB / 0.7901 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.6399, allocations: 177.1 kB / 0.7903 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.576e-05/0.6399, allocations: 50.73 kB / 0.7904 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.596e-05/0.64, allocations: 14.2 kB / 0.7904 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005682/0.6406, allocations: 0.5991 MB / 0.791 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.6406, allocations: 33.81 kB / 0.791 GB, free: 45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.6406, allocations: 0.625 kB / 0.791 GB, free: 45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0005024/0.6411, allocations: 297.5 kB / 0.7913 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.6411, allocations: 54.97 kB / 0.7913 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.391e-05/0.6412, allocations: 105.1 kB / 0.7914 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.6412, allocations: 26.83 kB / 0.7915 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.579e-05/0.6412, allocations: 89.27 kB / 0.7915 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.6413, allocations: 31.78 kB / 0.7916 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.6413, allocations: 22.03 kB / 0.7916 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.186e-05/0.6414, allocations: 322.4 kB / 0.7919 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.6414, allocations: 16.56 kB / 0.7919 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.881e-05/0.6414, allocations: 50.14 kB / 0.792 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.682e-05/0.6415, allocations: 76.5 kB / 0.792 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.6415, allocations: 0 / 0.792 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001265/0.6417, allocations: 95.25 kB / 0.7921 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.6417, allocations: 10.44 kB / 0.7921 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.6417, allocations: 0 / 0.7921 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.6417, allocations: 4.219 kB / 0.7921 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.321e-05/0.6418, allocations: 26.59 kB / 0.7922 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.6418, allocations: 0 / 0.7922 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.895e-05/0.6419, allocations: 8 kB / 0.7922 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.6419, allocations: 5.25 kB / 0.7922 GB, free: 43.99 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.443e-05/0.6419, allocations: 119.6 kB / 0.7923 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.642, allocations: 5.531 kB / 0.7923 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/0.642, allocations: 10.28 kB / 0.7923 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.642, allocations: 6.047 kB / 0.7923 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.642, allocations: 0 / 0.7923 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.642, allocations: 3.938 kB / 0.7923 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.6422, allocations: 170.2 kB / 0.7925 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6422, allocations: 0 / 0.7925 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-05/0.6423, allocations: 22.47 kB / 0.7925 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.6423, allocations: 0 / 0.7925 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.6423, allocations: 2.625 kB / 0.7925 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.6424, allocations: 3.438 kB / 0.7925 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6424, allocations: 4.219 kB / 0.7925 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.6425, allocations: 173.6 kB / 0.7927 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.6425, allocations: 87.09 kB / 0.7928 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.6426, allocations: 8 kB / 0.7928 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.6427, allocations: 7.266 kB / 0.7928 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.6427, allocations: 3.531 kB / 0.7928 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.6427, allocations: 3.938 kB / 0.7928 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.215e-05/0.6427, allocations: 83.86 kB / 0.7929 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6427, allocations: 0 / 0.7929 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002345/0.643, allocations: 14.44 kB / 0.7929 GB, free: 43.36 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001138/0.6431, allocations: 101.7 kB / 0.793 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.6432, allocations: 43.12 kB / 0.793 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6432, allocations: 0 / 0.793 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.488e-05/0.6433, allocations: 20.53 kB / 0.793 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.6435, allocations: 10.03 kB / 0.793 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005423/0.6441, allocations: 351.6 kB / 0.7934 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.6442, allocations: 0.6857 MB / 0.794 GB, free: 42.31 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.6442, allocations: 10.19 kB / 0.7941 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.6442, allocations: 0 / 0.7941 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of Templates: time 0.002172/0.6464, allocations: 0.7827 MB / 0.7948 GB, free: 42.26 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.makefile (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 & ./Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)