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.001424/0.001424, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001594/0.001594, allocations: 190.3 kB / 16.25 MB, free: 6.625 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.414/1.414, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.662/1.662, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001269/0.001269, allocations: 66.92 kB / 0.671 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2201, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002526/0.2227, allocations: 1.336 MB / 0.7842 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008893/0.2236, allocations: 0.6122 MB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.831e-05/0.2236, allocations: 0 / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.427e-05/0.2236, allocations: 7.984 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.518e-05/0.2237, allocations: 3.938 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004963/0.2242, allocations: 123.6 kB / 0.7849 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.973e-05/0.2243, allocations: 23.86 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.599e-05/0.2243, allocations: 0 / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.157e-05/0.2243, allocations: 4 kB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.843e-05/0.2244, allocations: 19.91 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.2244, allocations: 4 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004185/0.2248, allocations: 343.3 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.107e-05/0.2249, allocations: 4 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.2249, allocations: 7.922 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.2251, allocations: 151.9 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2251, allocations: 0 / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2251, allocations: 0 / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.2251, allocations: 3.938 kB / 0.7854 GB, free: 11.26 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.0004079/0.2256, allocations: 363.4 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.2256, allocations: 8.031 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.2256, allocations: 4.938 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.2258, allocations: 168.4 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.2258, allocations: 384 / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.2258, allocations: 4.375 kB / 0.786 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.957e-05/0.2259, allocations: 38.25 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.2259, allocations: 4.125 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.2259, allocations: 3.938 kB / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.2259, allocations: 4 kB / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.42e-05/0.226, allocations: 8 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.2261, allocations: 153.7 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.2263, allocations: 46.61 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/0.2264, allocations: 20.94 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.2264, allocations: 0 / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.2264, allocations: 38.5 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.2264, allocations: 0 / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0005653/0.227, allocations: 318.2 kB / 0.7866 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.227, allocations: 59.39 kB / 0.7866 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.46e-05/0.2271, allocations: 97.86 kB / 0.7867 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.2271, allocations: 25.7 kB / 0.7867 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.844e-05/0.2272, allocations: 80.14 kB / 0.7868 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.2272, allocations: 19.8 kB / 0.7868 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.2272, allocations: 21.66 kB / 0.7868 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.2273, allocations: 314.8 kB / 0.7871 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/0.2274, allocations: 15.98 kB / 0.7872 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.305e-05/0.2274, allocations: 15.98 kB / 0.7872 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.049e-05/0.2275, allocations: 28.86 kB / 0.7872 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.2275, allocations: 0 / 0.7872 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.759e-05/0.2276, allocations: 69.53 kB / 0.7873 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2276, allocations: 11.94 kB / 0.7873 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.2276, allocations: 0 / 0.7873 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.2276, allocations: 0 / 0.7873 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.774e-05/0.2276, allocations: 11.98 kB / 0.7873 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.2277, allocations: 0 / 0.7873 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.813e-05/0.2277, allocations: 8.062 kB / 0.7873 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.2277, allocations: 8 kB / 0.7873 GB, free: 9.055 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 6.656e-05/0.2278, allocations: 106.5 kB / 0.7874 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.2278, allocations: 7.938 kB / 0.7874 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.2279, allocations: 81.52 kB / 0.7875 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2279, allocations: 0 / 0.7875 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2279, allocations: 4 kB / 0.7875 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.228, allocations: 0 / 0.7875 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.2282, allocations: 319.3 kB / 0.7878 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2283, allocations: 0 / 0.7878 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.703e-05/0.2283, allocations: 11.98 kB / 0.7878 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.2283, allocations: 4 kB / 0.7878 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.2283, allocations: 0 / 0.7878 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2283, allocations: 0 / 0.7878 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2283, allocations: 0 / 0.7878 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.2285, allocations: 188.2 kB / 0.788 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.2286, allocations: 81.09 kB / 0.7881 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.2286, allocations: 4.031 kB / 0.7881 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.138e-05/0.2287, allocations: 4 kB / 0.7881 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.2287, allocations: 7.984 kB / 0.7881 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.2287, allocations: 0 / 0.7881 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.857e-05/0.2287, allocations: 79.28 kB / 0.7882 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2287, allocations: 0 / 0.7882 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002351/0.229, allocations: 32 kB / 0.7882 GB, free: 8.027 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.0001666/0.2291, allocations: 119.2 kB / 0.7883 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.775e-05/0.2293, allocations: 35.92 kB / 0.7883 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2293, allocations: 0 / 0.7883 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.555e-05/0.2293, allocations: 20.17 kB / 0.7884 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.2295, allocations: 11.88 kB / 0.7884 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.2299, allocations: 212.5 kB / 0.7886 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.2301, allocations: 0.6833 MB / 0.7892 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.611e-05/0.2302, allocations: 8.641 kB / 0.7893 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.719e-05/0.2302, allocations: 11.44 kB / 0.7893 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.2302, allocations: 0 / 0.7893 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of Templates: time 0.00236/0.2325, allocations: 0.6448 MB / 0.7899 GB, free: 6.262 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (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)