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.0007827/0.0007826, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001279/0.001279, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.4 MB / 222.1 MB, free: 5.871 MB / 174.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.619/1.619, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0004854/0.0004855, allocations: 13.22 kB / 0.6737 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2128, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001175/0.214, allocations: 0.982 MB / 0.7882 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003339/0.2174, allocations: 3.046 MB / 0.7912 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.955e-05/0.2174, allocations: 4 kB / 0.7912 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.184e-05/0.2174, allocations: 0 / 0.7912 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.061e-05/0.2175, allocations: 3.984 kB / 0.7912 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.2179, allocations: 79.62 kB / 0.7913 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.114e-05/0.2179, allocations: 39.84 kB / 0.7913 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.399e-05/0.218, allocations: 0 / 0.7913 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.792e-05/0.218, allocations: 23.92 kB / 0.7913 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.691e-05/0.2181, allocations: 15.97 kB / 0.7914 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.2181, allocations: 7.938 kB / 0.7914 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.2183, allocations: 47.84 kB / 0.7914 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.2183, allocations: 15.92 kB / 0.7914 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.2183, allocations: 29.7 kB / 0.7915 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.2184, allocations: 36.17 kB / 0.7915 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.2184, allocations: 4 kB / 0.7915 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.001e-06/0.2184, allocations: 0 / 0.7915 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.2185, allocations: 0 / 0.7915 GB, free: 7.582 MB / 0.6075 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.000302/0.2188, allocations: 335.3 kB / 0.7918 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.2188, allocations: 8.031 kB / 0.7918 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.143e-05/0.2189, allocations: 7.953 kB / 0.7918 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.985e-05/0.219, allocations: 171 kB / 0.792 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.219, allocations: 0 / 0.792 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.219, allocations: 4 kB / 0.792 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.2191, allocations: 57.61 kB / 0.7921 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.2192, allocations: 0 / 0.7921 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.2192, allocations: 4 kB / 0.7921 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2192, allocations: 4 kB / 0.7921 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.851e-05/0.2192, allocations: 19.97 kB / 0.7921 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.2194, allocations: 169.5 kB / 0.7922 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.055e-05/0.2195, allocations: 46.64 kB / 0.7923 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.695e-05/0.2195, allocations: 21 kB / 0.7923 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006043/0.2201, allocations: 0.6024 MB / 0.7929 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.2202, allocations: 34.56 kB / 0.7929 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.2202, allocations: 3.938 kB / 0.7929 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0005126/0.2207, allocations: 302.6 kB / 0.7932 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.2207, allocations: 51.41 kB / 0.7933 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.083e-05/0.2208, allocations: 105.8 kB / 0.7934 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.2208, allocations: 25.7 kB / 0.7934 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.721e-05/0.2209, allocations: 96.11 kB / 0.7935 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.2209, allocations: 27.55 kB / 0.7935 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-06/0.2209, allocations: 4 kB / 0.7935 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.401e-05/0.221, allocations: 314.8 kB / 0.7938 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.625e-05/0.221, allocations: 11.98 kB / 0.7938 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.959e-05/0.2211, allocations: 61.08 kB / 0.7939 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.652e-05/0.2211, allocations: 12 kB / 0.7939 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.2211, allocations: 4 kB / 0.7939 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001274/0.2212, allocations: 93.55 kB / 0.794 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.2213, allocations: 12.08 kB / 0.794 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2213, allocations: 0 / 0.794 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2213, allocations: 4 kB / 0.794 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.217e-05/0.2214, allocations: 23.98 kB / 0.794 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.2214, allocations: 7.938 kB / 0.794 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.617e-05/0.2214, allocations: 0 / 0.794 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.2214, allocations: 8 kB / 0.794 GB, free: 4.582 MB / 0.6075 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 6.447e-05/0.2215, allocations: 113.8 kB / 0.7942 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.2215, allocations: 7.906 kB / 0.7942 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.2216, allocations: 15.92 kB / 0.7942 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2216, allocations: 0 / 0.7942 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2216, allocations: 0 / 0.7942 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.2216, allocations: 0 / 0.7942 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.2218, allocations: 169.7 kB / 0.7943 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2218, allocations: 3.938 kB / 0.7943 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.243e-05/0.2219, allocations: 19.98 kB / 0.7944 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2219, allocations: 3.938 kB / 0.7944 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.2219, allocations: 0 / 0.7944 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2219, allocations: 3.953 kB / 0.7944 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2219, allocations: 0 / 0.7944 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.2221, allocations: 179.5 kB / 0.7945 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.2222, allocations: 85.39 kB / 0.7946 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.2222, allocations: 4.031 kB / 0.7946 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-05/0.2223, allocations: 4 kB / 0.7946 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.2223, allocations: 3.953 kB / 0.7946 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-06/0.2223, allocations: 15.92 kB / 0.7946 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.32e-05/0.2224, allocations: 83.27 kB / 0.7947 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2224, allocations: 4 kB / 0.7947 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002327/0.2226, allocations: 8 kB / 0.7947 GB, free: 3.777 MB / 0.6075 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.0001149/0.2227, allocations: 107.2 kB / 0.7948 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.696e-05/0.2228, allocations: 39.92 kB / 0.7949 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2228, allocations: 0 / 0.7949 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.113e-05/0.2229, allocations: 16.23 kB / 0.7949 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.2231, allocations: 14.53 kB / 0.7949 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005422/0.2237, allocations: 378.7 kB / 0.7953 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.2239, allocations: 0.6914 MB / 0.7959 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.235e-05/0.224, allocations: 7.984 kB / 0.796 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.064e-05/0.224, allocations: 11.44 kB / 0.796 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of SimCode: time 1.733e-06/0.224, allocations: 0 / 0.796 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of Templates: time 0.002501/0.2265, allocations: 0.5818 MB / 0.7965 GB, free: 1.887 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: