Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009882/0.0009881, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008613/0.008613, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.512/1.512, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.675/1.675, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005195/0.0005195, allocations: 14.28 kB / 0.6743 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2287, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001425/0.2301, allocations: 1.001 MB / 0.7889 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.2312, allocations: 0.6162 MB / 0.7895 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.042e-05/0.2313, allocations: 0 / 0.7895 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.2313, allocations: 7.938 kB / 0.7895 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.921e-05/0.2313, allocations: 3.984 kB / 0.7895 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005854/0.2319, allocations: 119.6 kB / 0.7896 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.436e-05/0.232, allocations: 23.86 kB / 0.7896 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/0.2321, allocations: 4 kB / 0.7896 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.683e-05/0.2321, allocations: 4 kB / 0.7896 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.737e-05/0.2322, allocations: 15.92 kB / 0.7896 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.2322, allocations: 0 / 0.7896 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005113/0.2327, allocations: 343.3 kB / 0.79 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.2327, allocations: 11.97 kB / 0.79 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.2328, allocations: 33.64 kB / 0.79 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.233, allocations: 147.9 kB / 0.7901 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2331, allocations: 0 / 0.7901 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2331, allocations: 0 / 0.7901 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.2331, allocations: 0 / 0.7901 GB, free: 9.242 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004003/0.2335, allocations: 355.4 kB / 0.7905 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.2335, allocations: 12.03 kB / 0.7905 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.2336, allocations: 4.938 kB / 0.7905 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.2337, allocations: 160.4 kB / 0.7907 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.2337, allocations: 8.312 kB / 0.7907 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.2337, allocations: 4.375 kB / 0.7907 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.2338, allocations: 46.25 kB / 0.7907 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.2339, allocations: 192 / 0.7907 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.2339, allocations: 3.938 kB / 0.7907 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2339, allocations: 0 / 0.7907 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.957e-05/0.2339, allocations: 7.984 kB / 0.7907 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.2341, allocations: 165.7 kB / 0.7909 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.2343, allocations: 42.5 kB / 0.7909 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.596e-05/0.2343, allocations: 16.86 kB / 0.7909 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.2344, allocations: 0 / 0.7909 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.2344, allocations: 30.56 kB / 0.791 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.2344, allocations: 0 / 0.791 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0006681/0.2351, allocations: 330.5 kB / 0.7913 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.2351, allocations: 51.41 kB / 0.7913 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.256e-05/0.2352, allocations: 97.86 kB / 0.7914 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.2352, allocations: 25.7 kB / 0.7914 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.898e-05/0.2352, allocations: 88.12 kB / 0.7915 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.2353, allocations: 15.81 kB / 0.7915 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.2353, allocations: 9.719 kB / 0.7916 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2354, allocations: 322.8 kB / 0.7919 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.215e-05/0.2354, allocations: 11.94 kB / 0.7919 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.358e-05/0.2355, allocations: 19.92 kB / 0.7919 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.733e-05/0.2355, allocations: 36.84 kB / 0.7919 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.2355, allocations: 0 / 0.7919 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001005/0.2356, allocations: 61.61 kB / 0.792 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.2357, allocations: 10.75 kB / 0.792 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2357, allocations: 3.984 kB / 0.792 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2357, allocations: 0 / 0.792 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.419e-05/0.2358, allocations: 12 kB / 0.792 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2358, allocations: 0 / 0.792 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.084e-05/0.2358, allocations: 8 kB / 0.792 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.2358, allocations: 7.875 kB / 0.792 GB, free: 7.043 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.266e-05/0.2359, allocations: 109.8 kB / 0.7921 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.2359, allocations: 3.938 kB / 0.7921 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.236, allocations: 77.64 kB / 0.7922 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2361, allocations: 0 / 0.7922 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2361, allocations: 0 / 0.7922 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2361, allocations: 0 / 0.7922 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.2364, allocations: 319.5 kB / 0.7925 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2364, allocations: 4.062 kB / 0.7925 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.518e-05/0.2365, allocations: 15.98 kB / 0.7925 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2365, allocations: 0 / 0.7925 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.2365, allocations: 0 / 0.7925 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2365, allocations: 4 kB / 0.7925 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2365, allocations: 3.938 kB / 0.7925 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.2367, allocations: 184.3 kB / 0.7927 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/0.2367, allocations: 81.14 kB / 0.7928 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.2368, allocations: 4 kB / 0.7928 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.995e-05/0.2368, allocations: 0 / 0.7928 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.2369, allocations: 7.984 kB / 0.7928 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.2369, allocations: 4 kB / 0.7928 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.199e-05/0.2369, allocations: 75.28 kB / 0.7929 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2369, allocations: 0 / 0.7929 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002658/0.2372, allocations: 28 kB / 0.7929 GB, free: 6.023 MB / 0.6075 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 (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.0001836/0.2374, allocations: 127.1 kB / 0.793 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.2375, allocations: 28 kB / 0.7931 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2375, allocations: 4 kB / 0.7931 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.943e-05/0.2375, allocations: 19.92 kB / 0.7931 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.2378, allocations: 7.938 kB / 0.7931 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.2382, allocations: 226.1 kB / 0.7933 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.2385, allocations: 0.6809 MB / 0.794 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.867e-05/0.2385, allocations: 4.391 kB / 0.794 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.2385, allocations: 15.42 kB / 0.794 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.2385, allocations: 0 / 0.794 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of Templates: time 0.002925/0.2415, allocations: 0.6124 MB / 0.7946 GB, free: 4.27 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) Environment - environmentSimulation: