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.001097/0.001097, allocations: 110.2 kB / 15.99 MB, free: 6.359 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.001145/0.001145, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.347/1.347, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.633/1.633, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.0014/0.0014, allocations: 63.31 kB / 0.6717 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2363, allocations: 114.6 MB / 0.7835 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002443/0.2388, allocations: 1.336 MB / 0.7848 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009745/0.2398, allocations: 0.6122 MB / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.305e-05/0.2398, allocations: 0 / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.855e-05/0.2399, allocations: 7.938 kB / 0.7854 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.118e-05/0.2399, allocations: 3.938 kB / 0.7854 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005144/0.2404, allocations: 131.5 kB / 0.7856 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.444e-05/0.2405, allocations: 11.94 kB / 0.7856 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.2406, allocations: 8 kB / 0.7856 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.574e-05/0.2406, allocations: 7.984 kB / 0.7856 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.369e-05/0.2407, allocations: 15.92 kB / 0.7856 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.2407, allocations: 0 / 0.7856 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004456/0.2411, allocations: 343.3 kB / 0.7859 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.2411, allocations: 4 kB / 0.7859 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.2412, allocations: 11.92 kB / 0.7859 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.2413, allocations: 92.11 kB / 0.786 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2414, allocations: 4 kB / 0.786 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.414e-06/0.2414, allocations: 4 kB / 0.786 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2414, allocations: 0 / 0.786 GB, free: 11.27 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.0004198/0.2418, allocations: 367.3 kB / 0.7864 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.2418, allocations: 8.031 kB / 0.7864 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.2419, allocations: 0.9375 kB / 0.7864 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.242, allocations: 168.4 kB / 0.7866 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.242, allocations: 384 / 0.7866 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.242, allocations: 384 / 0.7866 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.933e-05/0.2421, allocations: 50.12 kB / 0.7866 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.2421, allocations: 192 / 0.7866 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.2422, allocations: 3.938 kB / 0.7866 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2422, allocations: 0 / 0.7866 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.773e-05/0.2422, allocations: 15.98 kB / 0.7866 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.2424, allocations: 157.7 kB / 0.7868 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.2426, allocations: 42.56 kB / 0.7868 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.134e-05/0.2426, allocations: 16.86 kB / 0.7868 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.2426, allocations: 4 kB / 0.7868 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.2427, allocations: 38.5 kB / 0.7869 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.2427, allocations: 4 kB / 0.7869 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0006264/0.2433, allocations: 314.3 kB / 0.7872 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.2434, allocations: 51.41 kB / 0.7872 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.387e-05/0.2434, allocations: 97.86 kB / 0.7873 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.2435, allocations: 29.7 kB / 0.7873 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/0.2435, allocations: 80.14 kB / 0.7874 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.2435, allocations: 15.8 kB / 0.7874 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.2436, allocations: 25.72 kB / 0.7875 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.2437, allocations: 318.8 kB / 0.7878 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.2437, allocations: 11.94 kB / 0.7878 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.106e-05/0.2438, allocations: 8 kB / 0.7878 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.028e-05/0.2438, allocations: 44.92 kB / 0.7878 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.2438, allocations: 0 / 0.7878 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.926e-05/0.2439, allocations: 65.59 kB / 0.7879 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.244, allocations: 7.938 kB / 0.7879 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.244, allocations: 3.984 kB / 0.7879 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.244, allocations: 4 kB / 0.7879 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.834e-05/0.244, allocations: 12 kB / 0.7879 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.244, allocations: 0 / 0.7879 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.633e-05/0.2441, allocations: 0 / 0.7879 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.2441, allocations: 8 kB / 0.7879 GB, free: 9.066 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.97e-05/0.2442, allocations: 106.5 kB / 0.788 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.2442, allocations: 11.88 kB / 0.788 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.2443, allocations: 73.64 kB / 0.7881 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.2443, allocations: 0 / 0.7881 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2443, allocations: 4 kB / 0.7881 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2444, allocations: 3.938 kB / 0.7881 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003659/0.2447, allocations: 315.4 kB / 0.7884 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.2447, allocations: 192 / 0.7884 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.24e-05/0.2448, allocations: 15.98 kB / 0.7884 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2448, allocations: 0 / 0.7884 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.2448, allocations: 4 kB / 0.7884 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2448, allocations: 0 / 0.7884 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2448, allocations: 0 / 0.7884 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.2451, allocations: 188.2 kB / 0.7886 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/0.2451, allocations: 81.14 kB / 0.7887 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.2451, allocations: 0 / 0.7887 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.643e-05/0.2452, allocations: 8 kB / 0.7887 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.2452, allocations: 3.984 kB / 0.7887 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.2453, allocations: 4 kB / 0.7887 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.199e-05/0.2453, allocations: 83.34 kB / 0.7888 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2453, allocations: 0 / 0.7888 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002541/0.2456, allocations: 23.94 kB / 0.7888 GB, free: 8.043 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.0002091/0.2458, allocations: 127.2 kB / 0.7889 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.2459, allocations: 31.94 kB / 0.789 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2459, allocations: 0 / 0.789 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.455e-05/0.246, allocations: 23.92 kB / 0.789 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.2463, allocations: 11.05 kB / 0.789 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005519/0.2468, allocations: 242.2 kB / 0.7892 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.2472, allocations: 0.6807 MB / 0.7899 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.2472, allocations: 15.38 kB / 0.7899 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2472, allocations: 0 / 0.7899 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of Templates: time 0.002515/0.2498, allocations: 0.791 MB / 0.7907 GB, free: 6.062 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)