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.0009097/0.0009098, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004878/0.004878, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.408/1.408, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.72/1.72, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0004968/0.0004968, allocations: 16.98 kB / 0.6743 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2132, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001218/0.2145, allocations: 0.9858 MB / 0.7888 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00325/0.2177, allocations: 3.2 MB / 0.792 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.2178, allocations: 0 / 0.792 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.707e-05/0.2178, allocations: 0 / 0.792 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.821e-05/0.2179, allocations: 11.91 kB / 0.792 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.2183, allocations: 99.61 kB / 0.7921 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.356e-05/0.2184, allocations: 31.92 kB / 0.7921 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.408e-05/0.2184, allocations: 0 / 0.7921 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.27e-05/0.2184, allocations: 23.92 kB / 0.7921 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.476e-05/0.2185, allocations: 19.84 kB / 0.7921 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.2185, allocations: 4 kB / 0.7921 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.2187, allocations: 75.81 kB / 0.7922 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.2187, allocations: 7.984 kB / 0.7922 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.2188, allocations: 37.64 kB / 0.7922 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.2189, allocations: 80.06 kB / 0.7923 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.219, allocations: 0 / 0.7923 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.153e-06/0.219, allocations: 0 / 0.7923 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.219, allocations: 0 / 0.7923 GB, free: 7.004 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.0003433/0.2193, allocations: 331.5 kB / 0.7926 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.2194, allocations: 8.031 kB / 0.7926 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.783e-05/0.2195, allocations: 8.922 kB / 0.7927 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.2196, allocations: 172.3 kB / 0.7928 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.2196, allocations: 4.375 kB / 0.7928 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.2196, allocations: 8.375 kB / 0.7928 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.2197, allocations: 53.8 kB / 0.7929 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.2198, allocations: 0 / 0.7929 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.2198, allocations: 4 kB / 0.7929 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.2198, allocations: 4 kB / 0.7929 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.615e-05/0.2198, allocations: 11.98 kB / 0.7929 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.22, allocations: 169.6 kB / 0.7931 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.812e-05/0.2201, allocations: 58.5 kB / 0.7931 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.641e-05/0.2201, allocations: 16.84 kB / 0.7931 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006135/0.2207, allocations: 0.5907 MB / 0.7937 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.2208, allocations: 38.56 kB / 0.7938 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.2208, allocations: 0 / 0.7938 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0005008/0.2213, allocations: 306.5 kB / 0.794 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.2213, allocations: 51.41 kB / 0.7941 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.739e-05/0.2214, allocations: 105.8 kB / 0.7942 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.2214, allocations: 29.7 kB / 0.7942 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.923e-05/0.2215, allocations: 87.98 kB / 0.7943 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.2215, allocations: 31.55 kB / 0.7943 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.2215, allocations: 17.72 kB / 0.7944 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.176e-05/0.2216, allocations: 326.7 kB / 0.7947 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.559e-05/0.2217, allocations: 11.98 kB / 0.7947 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.189e-05/0.2217, allocations: 53.14 kB / 0.7947 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.848e-05/0.2218, allocations: 69.28 kB / 0.7948 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2218, allocations: 0 / 0.7948 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001295/0.2219, allocations: 101.5 kB / 0.7949 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.222, allocations: 4 kB / 0.7949 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.222, allocations: 4 kB / 0.7949 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.222, allocations: 0 / 0.7949 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.344e-05/0.2221, allocations: 24.05 kB / 0.7949 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2221, allocations: 8 kB / 0.7949 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.515e-05/0.2221, allocations: 3.938 kB / 0.7949 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.2221, allocations: 4 kB / 0.7949 GB, free: 3.918 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.722e-05/0.2222, allocations: 113.8 kB / 0.795 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.2222, allocations: 11.89 kB / 0.7951 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.2223, allocations: 7.969 kB / 0.7951 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.2223, allocations: 3.938 kB / 0.7951 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2223, allocations: 0 / 0.7951 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2223, allocations: 7.938 kB / 0.7951 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.2225, allocations: 173.7 kB / 0.7952 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2225, allocations: 0 / 0.7952 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.155e-05/0.2226, allocations: 16 kB / 0.7953 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2226, allocations: 0 / 0.7953 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.2226, allocations: 3.984 kB / 0.7953 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.2226, allocations: 80 / 0.7953 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2226, allocations: 7.922 kB / 0.7953 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.2228, allocations: 171.5 kB / 0.7954 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.2229, allocations: 89.05 kB / 0.7955 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.2229, allocations: 11.94 kB / 0.7955 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.223, allocations: 0 / 0.7955 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.223, allocations: 7.984 kB / 0.7955 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.223, allocations: 4.375 kB / 0.7955 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.042e-05/0.2231, allocations: 83.28 kB / 0.7956 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2231, allocations: 0 / 0.7956 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002502/0.2233, allocations: 12 kB / 0.7956 GB, free: 3.113 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 (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.0001133/0.2234, allocations: 103.2 kB / 0.7957 GB, free: 3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.324e-05/0.2235, allocations: 35.92 kB / 0.7958 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2236, allocations: 4 kB / 0.7958 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.441e-05/0.2236, allocations: 19.92 kB / 0.7958 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.2239, allocations: 12.16 kB / 0.7958 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005418/0.2244, allocations: 395 kB / 0.7962 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.2246, allocations: 0.6915 MB / 0.7968 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.012e-05/0.2247, allocations: 8 kB / 0.7969 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/0.2247, allocations: 11.44 kB / 0.7969 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2247, allocations: 0 / 0.7969 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of Templates: time 0.002528/0.2272, allocations: 0.5927 MB / 0.7974 GB, free: 1.199 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: