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.001372/0.001372, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.447/1.447, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.722/1.722, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001474/0.001474, allocations: 70.38 kB / 0.6715 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2212, allocations: 114.5 MB / 0.7834 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002673/0.224, allocations: 1.272 MB / 0.7846 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009499/0.2249, allocations: 0.6149 MB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.677e-05/0.225, allocations: 0 / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.2e-05/0.225, allocations: 3.984 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.206e-05/0.225, allocations: 3.938 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005076/0.2256, allocations: 143.4 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.168e-05/0.2256, allocations: 23.86 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.2257, allocations: 7.984 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.206e-05/0.2257, allocations: 4 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.161e-05/0.2258, allocations: 7.938 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.2258, allocations: 4 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004671/0.2262, allocations: 343.3 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.2263, allocations: 11.98 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.2263, allocations: 7.938 kB / 0.7858 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.2265, allocations: 147.9 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2266, allocations: 0 / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2266, allocations: 0 / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.2266, allocations: 0 / 0.7859 GB, free: 10.91 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.0003954/0.227, allocations: 367.3 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.227, allocations: 8.031 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.2271, allocations: 4.938 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.551e-05/0.2272, allocations: 160.4 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.2272, allocations: 4.375 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.2272, allocations: 8.375 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.69e-05/0.2273, allocations: 38.25 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2273, allocations: 192 / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.2273, allocations: 11.88 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.2273, allocations: 3.984 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.843e-05/0.2274, allocations: 11.98 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.2276, allocations: 161.7 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.2277, allocations: 42.56 kB / 0.7867 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.295e-05/0.2278, allocations: 16.86 kB / 0.7867 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.2278, allocations: 0 / 0.7867 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.2278, allocations: 38.58 kB / 0.7867 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.2278, allocations: 4 kB / 0.7867 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0005778/0.2284, allocations: 314.1 kB / 0.787 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.2285, allocations: 51.41 kB / 0.7871 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.836e-05/0.2285, allocations: 97.86 kB / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.2285, allocations: 25.7 kB / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.974e-05/0.2286, allocations: 84.12 kB / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.2286, allocations: 19.75 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.2286, allocations: 25.66 kB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.41e-05/0.2287, allocations: 314.8 kB / 0.7876 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.796e-05/0.2288, allocations: 12 kB / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.227e-05/0.2288, allocations: 12 kB / 0.7876 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.542e-05/0.2289, allocations: 32.83 kB / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.2289, allocations: 4 kB / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.293e-05/0.229, allocations: 69.53 kB / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.229, allocations: 11.94 kB / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.229, allocations: 0 / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.229, allocations: 4 kB / 0.7878 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.841e-05/0.2291, allocations: 8 kB / 0.7878 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.2291, allocations: 0 / 0.7878 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.896e-05/0.2291, allocations: 4 kB / 0.7878 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.2291, allocations: 0 / 0.7878 GB, free: 8.711 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.593e-05/0.2292, allocations: 114.5 kB / 0.7879 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.2292, allocations: 7.922 kB / 0.7879 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.2294, allocations: 73.81 kB / 0.788 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2294, allocations: 8 kB / 0.788 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2294, allocations: 128 / 0.788 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2294, allocations: 4 kB / 0.788 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.2297, allocations: 315.3 kB / 0.7883 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2297, allocations: 0 / 0.7883 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.078e-05/0.2298, allocations: 12 kB / 0.7883 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2298, allocations: 0 / 0.7883 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.2298, allocations: 4 kB / 0.7883 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2298, allocations: 0 / 0.7883 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2298, allocations: 32 / 0.7883 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.23, allocations: 192.7 kB / 0.7885 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.2301, allocations: 77.11 kB / 0.7885 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.2301, allocations: 4.031 kB / 0.7886 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.281e-05/0.2302, allocations: 3.984 kB / 0.7886 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.2302, allocations: 4 kB / 0.7886 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.2302, allocations: 7.984 kB / 0.7886 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.054e-05/0.2302, allocations: 83.34 kB / 0.7886 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.528e-06/0.2302, allocations: 0 / 0.7886 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002453/0.2305, allocations: 31.86 kB / 0.7887 GB, free: 7.672 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.0001677/0.2307, allocations: 119.2 kB / 0.7888 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.2308, allocations: 39.92 kB / 0.7888 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2308, allocations: 0 / 0.7888 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.644e-05/0.2308, allocations: 16 kB / 0.7888 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.231, allocations: 14.84 kB / 0.7889 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.2314, allocations: 205.3 kB / 0.7891 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.2316, allocations: 0.6768 MB / 0.7897 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.797e-05/0.2317, allocations: 4 kB / 0.7897 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.807e-05/0.2317, allocations: 11.44 kB / 0.7897 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2317, allocations: 0 / 0.7897 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of Templates: time 0.002917/0.2346, allocations: 0.6305 MB / 0.7903 GB, free: 5.934 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)