Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.461/1.461, allocations: 252 MB / 267.6 MB, free: 10.94 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.001048/0.001048, allocations: 182.2 kB / 327.3 MB, free: 2.195 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.89/1.89, allocations: 205.4 MB / 0.5783 GB, free: 20.24 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.0008635/0.0008634, allocations: 98.28 kB / 0.6829 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003381, allocations: 10.97 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2305, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001316/0.2319, allocations: 0.9972 MB / 0.9018 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008426/0.2328, allocations: 0.5623 MB / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.589e-05/0.2328, allocations: 0 / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.946e-05/0.2328, allocations: 3.984 kB / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.728e-05/0.2329, allocations: 8 kB / 0.9024 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.2333, allocations: 118.1 kB / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.71e-05/0.2334, allocations: 19.86 kB / 0.9025 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.029e-05/0.2334, allocations: 4 kB / 0.9025 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.85e-05/0.2335, allocations: 8 kB / 0.9025 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.09e-05/0.2335, allocations: 11.92 kB / 0.9025 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.2336, allocations: 0 / 0.9025 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003612/0.2339, allocations: 331.4 kB / 0.9028 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.669e-06/0.2339, allocations: 7.938 kB / 0.9028 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.807e-05/0.234, allocations: 33.7 kB / 0.9029 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.2341, allocations: 96.09 kB / 0.903 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2341, allocations: 7.938 kB / 0.903 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.444e-06/0.2342, allocations: 0 / 0.903 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.2342, allocations: 0 / 0.903 GB, free: 61.66 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003476/0.2345, allocations: 351.3 kB / 0.9033 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2346, allocations: 8.031 kB / 0.9033 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.2346, allocations: 4 kB / 0.9033 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.666e-05/0.2347, allocations: 171 kB / 0.9035 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.2347, allocations: 4 kB / 0.9035 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.2347, allocations: 8 kB / 0.9035 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.2349, allocations: 33.69 kB / 0.9035 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2349, allocations: 3.938 kB / 0.9035 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.2349, allocations: 4 kB / 0.9035 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2349, allocations: 0 / 0.9035 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.558e-05/0.2349, allocations: 8 kB / 0.9035 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.2351, allocations: 165.5 kB / 0.9037 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.2353, allocations: 46.61 kB / 0.9037 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/0.2354, allocations: 20.94 kB / 0.9038 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.2354, allocations: 0 / 0.9038 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.2354, allocations: 34.5 kB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.2354, allocations: 3.938 kB / 0.9038 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0005823/0.236, allocations: 306.3 kB / 0.9041 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.2361, allocations: 59.41 kB / 0.9041 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.149e-05/0.2361, allocations: 97.84 kB / 0.9042 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.2361, allocations: 29.7 kB / 0.9043 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.603e-05/0.2362, allocations: 80.14 kB / 0.9043 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.2362, allocations: 19.66 kB / 0.9044 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-06/0.2362, allocations: 4 kB / 0.9044 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.858e-05/0.2362, allocations: 318.8 kB / 0.9047 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.125e-05/0.2363, allocations: 8 kB / 0.9047 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.83e-05/0.2363, allocations: 16 kB / 0.9047 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.764e-05/0.2363, allocations: 15.94 kB / 0.9047 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.2363, allocations: 0 / 0.9047 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.195e-05/0.2364, allocations: 65.62 kB / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.2364, allocations: 4 kB / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2365, allocations: 0 / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.2365, allocations: 0 / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.886e-05/0.2365, allocations: 20.05 kB / 0.9048 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.2365, allocations: 4.234 kB / 0.9048 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.2366, allocations: 0 / 0.9048 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.2366, allocations: 7.984 kB / 0.9048 GB, free: 59.52 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 5.509e-05/0.2366, allocations: 117.8 kB / 0.9049 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-06/0.2367, allocations: 0 / 0.9049 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.2368, allocations: 81.48 kB / 0.905 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2368, allocations: 0 / 0.905 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.2368, allocations: 0 / 0.905 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2368, allocations: 0 / 0.905 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.2371, allocations: 319.4 kB / 0.9053 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2371, allocations: 0 / 0.9053 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.022e-05/0.2371, allocations: 15.98 kB / 0.9053 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.2371, allocations: 0 / 0.9053 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.2372, allocations: 0 / 0.9053 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2372, allocations: 4 kB / 0.9053 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2372, allocations: 0 / 0.9053 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.2373, allocations: 180.3 kB / 0.9055 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.2374, allocations: 89.12 kB / 0.9056 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.2374, allocations: 0 / 0.9056 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.2375, allocations: 0 / 0.9056 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.2375, allocations: 7.984 kB / 0.9056 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.2375, allocations: 0 / 0.9056 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.09e-05/0.2375, allocations: 87.22 kB / 0.9057 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2375, allocations: 0 / 0.9057 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002462/0.2378, allocations: 20 kB / 0.9057 GB, free: 58.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * 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 (6): * Single equations (assignments): 6 * 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.000172/0.2379, allocations: 124.5 kB / 0.9058 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.2381, allocations: 36.11 kB / 0.9058 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2381, allocations: 3.938 kB / 0.9058 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.293e-05/0.2381, allocations: 23.98 kB / 0.9059 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.2383, allocations: 12.61 kB / 0.9059 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.2387, allocations: 247.5 kB / 0.9061 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.2388, allocations: 0.6848 MB / 0.9068 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.848e-05/0.2388, allocations: 11.44 kB / 0.9068 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2388, allocations: 0 / 0.9068 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.002017/0.2409, allocations: 0.785 MB / 0.9076 GB, free: 56.52 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)