Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.484/1.484, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 169.9 kB / 327.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.4 MB / 0.5786 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007197/0.0007197, allocations: 87.38 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003398, allocations: 9.062 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2058, allocations: 106.3 MB / 0.9014 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001358/0.2072, allocations: 0.9932 MB / 0.9024 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003255/0.2105, allocations: 3.215 MB / 0.9055 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.482e-05/0.2105, allocations: 0 / 0.9055 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.078e-05/0.2106, allocations: 4 kB / 0.9055 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.453e-05/0.2106, allocations: 11.92 kB / 0.9056 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005323/0.2112, allocations: 87.67 kB / 0.9056 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.669e-05/0.2113, allocations: 35.86 kB / 0.9057 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/0.2113, allocations: 0 / 0.9057 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.954e-05/0.2114, allocations: 27.91 kB / 0.9057 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/0.2114, allocations: 11.98 kB / 0.9057 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.2115, allocations: 4 kB / 0.9057 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.2117, allocations: 79.73 kB / 0.9058 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.737e-05/0.2117, allocations: 11.94 kB / 0.9058 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.755e-05/0.2118, allocations: 41.67 kB / 0.9058 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.2119, allocations: 47.88 kB / 0.9059 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2119, allocations: 0 / 0.9059 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2119, allocations: 0 / 0.9059 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.2119, allocations: 0 / 0.9059 GB, free: 58.93 MB / 0.6042 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.0003367/0.2123, allocations: 331.8 kB / 0.9062 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.2123, allocations: 8.031 kB / 0.9062 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.2124, allocations: 8.938 kB / 0.9062 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.433e-05/0.2125, allocations: 164.4 kB / 0.9064 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.2125, allocations: 4.375 kB / 0.9064 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.2126, allocations: 8.281 kB / 0.9064 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.2127, allocations: 57.8 kB / 0.9064 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.2127, allocations: 0 / 0.9064 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.2127, allocations: 0 / 0.9064 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2128, allocations: 7.922 kB / 0.9065 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.633e-05/0.2128, allocations: 15.98 kB / 0.9065 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.2129, allocations: 169.6 kB / 0.9066 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.369e-05/0.213, allocations: 50.55 kB / 0.9067 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.65e-05/0.2131, allocations: 16.86 kB / 0.9067 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000581/0.2137, allocations: 0.591 MB / 0.9073 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.2137, allocations: 50.48 kB / 0.9073 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.2137, allocations: 0 / 0.9073 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005084/0.2142, allocations: 302.5 kB / 0.9076 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.2143, allocations: 51.41 kB / 0.9077 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.258e-05/0.2143, allocations: 105.8 kB / 0.9078 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.2143, allocations: 29.7 kB / 0.9078 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.63e-05/0.2144, allocations: 95.97 kB / 0.9079 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.2144, allocations: 23.78 kB / 0.9079 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.2144, allocations: 4 kB / 0.9079 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.293e-05/0.2145, allocations: 318.8 kB / 0.9082 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.2145, allocations: 12 kB / 0.9082 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.664e-05/0.2146, allocations: 49.14 kB / 0.9083 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.786e-05/0.2146, allocations: 85.02 kB / 0.9083 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2146, allocations: 0 / 0.9083 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001084/0.2147, allocations: 89.47 kB / 0.9084 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.2148, allocations: 8.109 kB / 0.9084 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2148, allocations: 8 kB / 0.9084 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2148, allocations: 0 / 0.9084 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.897e-05/0.2149, allocations: 16 kB / 0.9085 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.2149, allocations: 7.938 kB / 0.9085 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.699e-05/0.2149, allocations: 7.938 kB / 0.9085 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.2149, allocations: 4 kB / 0.9085 GB, free: 55.87 MB / 0.6042 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.6e-05/0.215, allocations: 121.8 kB / 0.9086 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.215, allocations: 4 kB / 0.9086 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/0.2151, allocations: 11.97 kB / 0.9086 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2151, allocations: 0 / 0.9086 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2151, allocations: 0 / 0.9086 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.2151, allocations: 7.938 kB / 0.9086 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.2153, allocations: 169.7 kB / 0.9088 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2153, allocations: 0 / 0.9088 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.14e-05/0.2154, allocations: 15.98 kB / 0.9088 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2154, allocations: 0 / 0.9088 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.2154, allocations: 4 kB / 0.9088 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2154, allocations: 0 / 0.9088 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2154, allocations: 11.88 kB / 0.9088 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.2156, allocations: 179.4 kB / 0.909 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.2156, allocations: 85.14 kB / 0.9091 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.2157, allocations: 0 / 0.9091 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.2158, allocations: 0 / 0.9091 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.2158, allocations: 11.98 kB / 0.9091 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.2158, allocations: 3.938 kB / 0.9091 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.785e-05/0.2158, allocations: 79.66 kB / 0.9092 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2158, allocations: 7.938 kB / 0.9092 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002446/0.2161, allocations: 16 kB / 0.9092 GB, free: 55.05 MB / 0.6042 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.0001438/0.2162, allocations: 103.3 kB / 0.9093 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001186/0.2164, allocations: 47.91 kB / 0.9093 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2164, allocations: 0 / 0.9093 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.96e-05/0.2164, allocations: 12 kB / 0.9093 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.2167, allocations: 6.484 kB / 0.9093 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006064/0.2173, allocations: 424.2 kB / 0.9097 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.2175, allocations: 0.6809 MB / 0.9104 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.2175, allocations: 15.44 kB / 0.9104 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.2175, allocations: 0 / 0.9104 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.002182/0.2197, allocations: 0.7613 MB / 0.9112 GB, free: 52.95 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)